usages/phpUnderControl/WebCoding 1st/03日目

提供: スゴイようぃっきー!
移動: 案内検索

usages / phpUnderControl / WebCoding 1st / 03日目

WebCoding 3日目 : ソースコードをphpUnderControl用に改変する

改変前のソースコード

rssを表示するスクリプト itrss.php は以下の通りです。キャッシュがcashとなっていたり、かなりイカス状態です。短いということもありますが、コメントもまったくありません。
http://www.example.com/itrss.php/20106010 といったアクセスがあった場合に、キャッシュディレクトリにあるphpファイルをrequireせよというものです。その際、requireしたスクリプト内で$viewCalendarDiv、$qyear、$qmonth、$qdayといった変数が利用されるようです。 <?php

define ('_DOCUMENT_ROOT', '/var/www/html/www.sugoiyo.com/webtech.sugoiyo.com/public_html/'); if (preg_match ('!^.+?itrss.php/(20\d{6})/?$!', $_SERVER['REQUEST_URI'], $match)) { $query = $match[1]; } else { $query = date ('Ymd', time()); } $cash = _DOCUMENT_ROOT. "cash/phpByDate/$query.php"; $viewCalendarDiv = _DOCUMENT_ROOT. "scripts/viewCalendarDiv.php";

if (!file_exists($cash)) { echo 'error'; exit; } preg_match('!^(\d{4})(\d{2})(\d{2})$!', $query, $match);

$qyear = $match[1]; $qmonth = $match[2]; $qday = $match[3];

require ($cash); exit; ?> このままの状態でPHP_CodeSnifferのviolationメッセージを見ながらオリジナルのコーディング規約を詰めてもよいのですが、後々にPHPUnitでテストをすることを考えて、いくつか修正を行います。

とりあえず改変した後の状態

改変後は2つのファイルに分割しました。
一つはエントリーポイントといかcontroller的なファイルというか。
itrss.php <?php

define ('_DOCUMENT_ROOT', dirname(__FILE__)); require_once _DOCUMENT_ROOT. "/../lib/models/viewITRss.php";

// とりあえず、PHPUnitで読めるように、CLIではいきなり実行しないようにしてみる if (PHP_SAPI != "cli") { $itrss = new viewITRss; $results = $itrss->execute($_SERVER['REQUEST_URI']); if ($results !== false && count($results) == 4) { require $results($results[0]); }else{ print "error"; } } // exit を書いてしまうと、PHPUnitのテストが止まってしまうのでやめれと。 # exit;

?> もう一つは、classのみを記述したファイルです。 viwITRss.php <?php class viewITRss { // とりあえずクラス化してメインのメソッドに入出力を加える function execute($uri){ if (preg_match ('!^.+?itrss.php/(20\d{6})/?$!', $uri, $match)) { $query = $match[1]; } else { $query = date ('Ymd', time()); } $cache = _DOCUMENT_ROOT. "/../cache/phpByDate/$query.php";

if (!file_exists($cache)) { return false; } preg_match('!^(\d{4})(\d{2})(\d{2})$!', $query, $match);

$qyear = $match[1]; $qmonth = $match[2]; $qday = $match[3];

return array($cache, $qyear, $qmonth, $qday); } }


?>

改変のポイントとしては以下のようになります。

  • itrss.phpをrequireした際、cli起動の場合は何も処理を行わないようにした
    意図:PHP_CodeSnifferでは関係ないですが、PHPUnitでファイルを読み込むことを考えた場合、いきなり処理されても困るので。
  • メインの処理というかアクションをclassとして記述
    意図:実際の開発では何かしらのフレームワーク+phpUnderControlという利用が多いと思うので、PHP_CodeSnifferを利用したオリジナルのコーディング規約を詰めていくのに、classファイルは外せないので変更しました。
  • メソッドには入力と出力を用意
    意図:PHPUnitでテストをするためです。もちろん、無くてもテストできるのですが。
  • exitを削除
    意図:exitを残しておくと、PHPUnitでテストしようとしても途中で処理が終了してしまい、buildに失敗してしまうので。
  • スクリプトのベースディレクトリをdirnameを利用する
    意図:実際に運用するディレクトリとphpUnderControlで配置されるパスはもちろん異なるので、絶対パス指定をやめています。

とりあえずのテストスクリプト

とあるサイトでテスト名は日本語で書くと良いなんていう記述があったので日本語で書いてみました。
PHPUnitでのテストコード記述はまた後日にします。 <?php require_once 'PHPUnit/Framework.php'; require_once dirname(__FILE__).'/../src/www/itrss.php';

class RssReaderTest extends PHPUnit_Framework_TestCase {

   public function setup() {
   	touch (_DOCUMENT_ROOT. "/../cache/phpByDate/20100618.php");
   }
   public function test①hogeでfalseが返る②ファイルが存在して中身が4つの配列が返る() {

$itrss = new viewITRss;

   	$result = $itrss->execute("hoge");
       $this->assertFalse($result);
   	$result = $itrss->execute("/itrss.php/20100618");
       $this->assertEquals(4, count($result));
   }

} ?> buildした様子は以下の通りです。
http://sample.sugoiyo.com/cruisecontrol/buildresults/rssreader?log=log20100620112205Lbuild.6

violationを確認してみる

PHP_CodeSnifferを利用したオリジナルのコーディング規約を詰めていくにあたって、利用するファイルは以下の4つにすることにしました。

  • itrss.php (34 / 1)
  • viewITRss.php (61 / 0)
  • itrss.css (286 / 3)
  • itrss.js (16 / 0 )

()内にある数字は、それぞれ、Errors / Warnings の数です。
~ それぞれ、以下のviolationメッセージが出ています。
重複しているものも多いとは思いますが、現状だけ見るとかなりげんなりな様子です。

www/itrss.php (34 / 35) 2:1 You must use "/**" style comments for a file comment PEAR.Commenting.FileComment 3:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 3:2 Line exceeds 85 characters; contains 110 characters PEAR.Files.LineLength.LineTooLong 3:2 Inline comments must start with a capital letter Squiz.Commenting.InlineComment 4:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 4:2 Inline comments must end in full-stops, exclamation marks, or question marks Squiz.Commenting.InlineComment 5:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 5:2 Space before opening parenthesis of function call prohibited PEAR.Functions.FunctionCallSignature 6:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 6:29 Concat operator must not be surrounded by spaces. Found "..._ROOT. "/../..."; expected "..._ROOT."/../..." Squiz.Strings.ConcatenationSpacing 6:31 String "/../lib/models/viewITRss.php" does not require double quotes; use single quotes instead Squiz.Strings.DoubleQuoteUsage 7:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 7:2 Line indented incorrectly; expected 0 spaces, found 1 PEAR.WhiteSpace.ScopeIndent 7:2 Implicit true comparisons prohibited; use === TRUE instead Squiz.Operators.ComparisonOperatorUsage 8:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 8:3 Line indented incorrectly; expected at least 4 spaces, found 2 PEAR.WhiteSpace.ScopeIndent 8:10 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space Squiz.Formatting.MultipleStatementAlignment 9:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 9:3 Line indented incorrectly; expected at least 4 spaces, found 2 PEAR.WhiteSpace.ScopeIndent 10:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 10:3 Line indented incorrectly; expected 4 spaces, found 2 PEAR.WhiteSpace.ScopeIndent 10:45 Operator == prohibited; use === instead Squiz.Operators.ComparisonOperatorUsage 11:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 11:4 Line indented incorrectly; expected at least 8 spaces, found 3 PEAR.WhiteSpace.ScopeIndent 11:4 File is being conditionally included; use "include" instead PEAR.Files.IncludingFile 12:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 12:4 Expected "} else {\n"; found "}else{\n" PEAR.ControlStructures.ControlSignature 12:4 Line indented incorrectly; expected 4 spaces, found 2 PEAR.WhiteSpace.ScopeIndent 12:4 Expected "} else {\n"; found "}else{\n" Squiz.ControlStructures.ControlSignature 13:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 13:4 Line indented incorrectly; expected at least 8 spaces, found 3 PEAR.WhiteSpace.ScopeIndent 13:4 The use of function print() is forbidden; use echo() instead Squiz.PHP.ForbiddenFunctions 13:10 String "error" does not require double quotes; use single quotes instead Squiz.Strings.DoubleQuoteUsage 14:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 15:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent

lib/models/viewITRss.php (61 / 61) 2:1 Missing file doc comment PEAR.Commenting.FileComment 2:1 Missing class doc comment PEAR.Commenting.ClassComment 2:1 Class name must begin with a capital letter PEAR.NamingConventions.ValidClassName 2:17 Opening brace of a class must be on the line after the definition PEAR.Classes.ClassDeclaration 2:17 Opening brace of a class must be on the line after the definition Squiz.Classes.ClassDeclaration 3:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 3:2 Line indented incorrectly; expected at least 4 spaces, found 1 PEAR.WhiteSpace.ScopeIndent 3:2 Inline comments must start with a capital letter Squiz.Commenting.InlineComment 3:2 Inline comments must end in full-stops, exclamation marks, or question marks Squiz.Commenting.InlineComment 4:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 4:2 Line indented incorrectly; expected 4 spaces, found 1 PEAR.WhiteSpace.ScopeIndent 4:2 You must use "/**" style comments for a function comment PEAR.Commenting.FunctionComment 4:2 Expected 2 blank lines before function; 0 found Squiz.WhiteSpace.FunctionSpacing 4:2 No scope modifier specified for function "execute" Squiz.Scope.MethodScope 4:24 Opening brace should be on a new line PEAR.Functions.FunctionDeclaration 4:24 Opening brace should be on a new line Squiz.Functions.MultiLineFunctionDeclaration 5:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 5:3 Line indented incorrectly; expected 8 spaces, found 2 PEAR.WhiteSpace.ScopeIndent 5:3 Implicit true comparisons prohibited; use === TRUE instead Squiz.Operators.ComparisonOperatorUsage 5:7 Space before opening parenthesis of function call prohibited PEAR.Functions.FunctionCallSignature 6:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 6:4 Line indented incorrectly; expected at least 12 spaces, found 3 PEAR.WhiteSpace.ScopeIndent 7:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 7:5 Line indented incorrectly; expected 8 spaces, found 2 PEAR.WhiteSpace.ScopeIndent 8:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 8:4 Line indented incorrectly; expected at least 12 spaces, found 3 PEAR.WhiteSpace.ScopeIndent 8:13 Space before opening parenthesis of function call prohibited PEAR.Functions.FunctionCallSignature 9:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 9:3 No blank line found after control structure Squiz.WhiteSpace.ControlStructureSpacing 10:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 10:3 Line indented incorrectly; expected at least 8 spaces, found 2 PEAR.WhiteSpace.ScopeIndent 10:26 Concat operator must not be surrounded by spaces. Found "..._ROOT. "/../..."; expected "..._ROOT."/../..." Squiz.Strings.ConcatenationSpacing 10:28 Variable "$query" not allowed in double quoted string; use concatenation instead Squiz.Strings.DoubleQuoteUsage 12:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 12:3 Line indented incorrectly; expected 8 spaces, found 2 PEAR.WhiteSpace.ScopeIndent 12:7 Operator ! prohibited; use === FALSE instead Squiz.Operators.ComparisonOperatorUsage 13:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 13:4 Line indented incorrectly; expected at least 12 spaces, found 3 PEAR.WhiteSpace.ScopeIndent 14:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 14:3 No blank line found after control structure Squiz.WhiteSpace.ControlStructureSpacing 15:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 15:3 Line indented incorrectly; expected at least 8 spaces, found 2 PEAR.WhiteSpace.ScopeIndent 17:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 17:3 Line indented incorrectly; expected at least 8 spaces, found 2 PEAR.WhiteSpace.ScopeIndent 17:10 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space Squiz.Formatting.MultipleStatementAlignment 18:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 18:3 Line indented incorrectly; expected at least 8 spaces, found 2 PEAR.WhiteSpace.ScopeIndent 19:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 19:3 Line indented incorrectly; expected at least 8 spaces, found 2 PEAR.WhiteSpace.ScopeIndent 19:9 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space Squiz.Formatting.MultipleStatementAlignment 20:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 20:1 Whitespace found at end of line Squiz.WhiteSpace.SuperfluousWhitespace 21:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 21:3 Line indented incorrectly; expected at least 8 spaces, found 2 PEAR.WhiteSpace.ScopeIndent 21:10 Array with multiple values cannot be declared on a single line Squiz.Arrays.ArrayDeclaration.SingleLineNotAllowed 22:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 22:2 Expected 1 blank line before closing function brace; 0 found Squiz.WhiteSpace.FunctionClosingBraceSpace 22:2 Expected 2 blank lines after function; 3 found Squiz.WhiteSpace.FunctionSpacing 22:2 Expected //end execute() Squiz.Commenting.ClosingDeclarationComment 23:1 Closing brace of a class must be followed by a single blank line; found 2 lines Squiz.Classes.ClassDeclaration 23:1 Expected //end class Squiz.Commenting.ClosingDeclarationComment

www/css/itrss.css (286 / 289) 1:7 This comment is 40% valid code; is this commented out code? Squiz.PHP.CommentedOutCode 5:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 5:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 6:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 6:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 7:1 Blank lines are not allowed in class definitions Squiz.CSS.Indentation 8:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 8:1 Expected 0 blank lines before closing brace of class definition; 1 found Squiz.CSS.ClassDefinitionClosingBraceSpace 10:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 10:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 11:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 11:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 12:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 12:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 13:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 13:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 14:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 14:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 15:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 15:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 16:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 16:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 16:20 CSS colours must be defined in uppercase; expected #FFFFCC but found #ffffcc Squiz.CSS.ColourDefinition 16:20 CSS colours must use shorthand if available; expected #ffc but found #ffffcc Squiz.CSS.ColourDefinition 17:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 17:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 18:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 18:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 19:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 19:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 20:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 22:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 22:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 23:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 25:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 25:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 26:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 28:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 28:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 29:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 29:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 30:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 30:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 31:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 31:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 32:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 33:15 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 34:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 34:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 35:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 35:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 36:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 36:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 40:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 40:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 41:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 41:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 42:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 42:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 43:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 43:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 44:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 46:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 46:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 47:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 47:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 48:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 48:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 49:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 49:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 50:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 50:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 51:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 53:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 53:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 54:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 54:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 54:30 Style definitions must be lowercase; expected courier but found Courier Squiz.CSS.LowercaseStyleDefinition 55:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 55:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 56:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 56:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 57:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 57:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 58:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 60:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 60:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 61:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 61:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 61:30 Style definitions must be lowercase; expected courier but found Courier Squiz.CSS.LowercaseStyleDefinition 62:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 62:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 63:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 63:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 64:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 66:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 66:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 67:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 67:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 67:2 Style definitions must end with a semicolon Squiz.CSS.SemicolonSpacing 68:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 69:14 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 70:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 70:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 71:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 71:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 72:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 74:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 74:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 75:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 76:1 This comment is 40% valid code; is this commented out code? Squiz.PHP.CommentedOutCode 79:16 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 80:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 80:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 80:8 Expected 1 space after colon in style definition; 0 found Squiz.CSS.ColonSpacing 80:13 CSS colours must be defined in uppercase; expected #EFEFEF but found #efefef Squiz.CSS.ColourDefinition 81:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 81:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 82:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 83:13 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 84:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 84:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 85:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 85:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 86:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 86:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 89:10 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 90:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 90:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 90:20 CSS colours must be defined in uppercase; expected #EFEFEF but found #efefef Squiz.CSS.ColourDefinition 91:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 92:12 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 93:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 93:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 94:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 94:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 95:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 95:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 98:9 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 99:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 99:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 100:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 101:10 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 102:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 102:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 103:1 Expected one blank line after closing brace of class definition; 2 found Squiz.CSS.ClassDefinitionClosingBraceSpace 106:1 This comment is 40% valid code; is this commented out code? Squiz.PHP.CommentedOutCode 110:21 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 111:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 111:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 112:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 112:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 112:30 Style definitions must be lowercase; expected courier but found Courier Squiz.CSS.LowercaseStyleDefinition 113:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 113:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 114:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 114:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 114:20 CSS colours must use shorthand if available; expected #066 but found #006666 Squiz.CSS.ColourDefinition 115:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 115:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 115:14 CSS colours must use shorthand if available; expected #066 but found #006666 Squiz.CSS.ColourDefinition 116:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 116:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 117:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 118:14 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 119:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 119:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 120:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 120:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 121:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 121:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 121:30 Style definitions must be lowercase; expected courier but found Courier Squiz.CSS.LowercaseStyleDefinition 122:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 122:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 122:20 CSS colours must use shorthand if available; expected #009 but found #000099 Squiz.CSS.ColourDefinition 123:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 123:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 123:14 CSS colours must use shorthand if available; expected #009 but found #000099 Squiz.CSS.ColourDefinition 124:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 124:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 125:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 126:14 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 127:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 127:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 128:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 128:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 129:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 129:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 129:30 Style definitions must be lowercase; expected courier but found Courier Squiz.CSS.LowercaseStyleDefinition 130:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 130:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 131:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 131:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 132:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 132:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 133:1 Expected one blank line after closing brace of class definition; 0 found Squiz.CSS.ClassDefinitionClosingBraceSpace 134:19 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 135:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 135:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 136:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 136:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 137:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 137:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 137:30 Style definitions must be lowercase; expected courier but found Courier Squiz.CSS.LowercaseStyleDefinition 138:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 138:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 139:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 139:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 140:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 140:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 143:14 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 144:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 144:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 145:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 145:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 146:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 146:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 146:30 Style definitions must be lowercase; expected courier but found Courier Squiz.CSS.LowercaseStyleDefinition 147:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 147:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 148:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 148:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 151:14 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 152:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 152:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 153:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 153:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 154:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 154:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 154:30 Style definitions must be lowercase; expected courier but found Courier Squiz.CSS.LowercaseStyleDefinition 155:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 155:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 156:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 156:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 159:14 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 160:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 160:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 161:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 161:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 162:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 162:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 162:30 Style definitions must be lowercase; expected courier but found Courier Squiz.CSS.LowercaseStyleDefinition 163:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 163:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 164:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 164:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 165:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 165:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 168:14 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 169:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 169:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 170:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 170:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 171:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 171:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 171:30 Style definitions must be lowercase; expected courier but found Courier Squiz.CSS.LowercaseStyleDefinition 172:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 172:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 173:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 173:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 174:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 174:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 177:14 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 178:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 178:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 179:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 179:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 180:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 180:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 180:30 Style definitions must be lowercase; expected courier but found Courier Squiz.CSS.LowercaseStyleDefinition 181:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 181:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 182:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 182:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 185:14 Expected 1 space before opening brace of class definition; 0 found Squiz.CSS.ClassDefinitionOpeningBraceSpace 186:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 186:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 187:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 187:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 188:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 188:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 188:30 Style definitions must be lowercase; expected courier but found Courier Squiz.CSS.LowercaseStyleDefinition 189:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 189:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 190:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 190:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 191:1 Line indented incorrectly; expected 4 spaces, found 1 Squiz.CSS.Indentation 191:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 196:1 Additional whitespace found at end of file Squiz.WhiteSpace.SuperfluousWhitespace

www/js/itrss.js (16 / 16) 1:1 End of line character is invalid; expected "\n" but found "\r\n" PEAR.Files.LineEndings.InvalidEOLChar 1:1 End of line character is invalid; expected "\n" but found "\r\n" Squiz.Files.LineEndings.InvalidEOLChar 1:27 Opening brace should be on a new line Squiz.WhiteSpace.FunctionOpeningBraceSpace 2:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 3:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 3:2 No space before comment text; expected "// alert(ob);" but found "//alert(ob);" Squiz.Commenting.InlineComment 3:2 Inline comments must start with a capital letter Squiz.Commenting.InlineComment 3:2 Inline comments must end in full-stops, exclamation marks, or question marks Squiz.Commenting.InlineComment 4:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 5:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 5:10 Operator == prohibited; use === instead Squiz.Operators.ComparisonOperatorUsage 6:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 7:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 8:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 9:1 Spaces must be used to indent lines; tabs are not allowed Generic.WhiteSpace.DisallowTabIndent 10:1 Expected 1 blank line before closing function brace; 0 found Squiz.WhiteSpace.FunctionClosingBraceSpace

次回のテーマ

次回からは、ひとつずつメッセージの内容を確認しながら、コードの修正を行ってみます。

prev | 03日目 | next