添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
飞翔的雪糕  ·  Upgrading kernel ...·  6 小时前    · 
曾经爱过的领结  ·  Issues in ...·  2 天前    · 
细心的佛珠  ·  Cydia-1/README.md at ...·  3 天前    · 
有情有义的蚂蚁  ·  「北区AKT ...·  1 月前    · 
低调的蛋挞  ·  We Is Better than Me ...·  2 月前    · 

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"] , you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
The method cbInit() does not exist on crocodicstudio\crudboost...ontrollers\CBController. Since you implemented __call, consider adding a @method annotation. Ignorable by Annotation

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

        $this->/** @scrutinizer ignore-call */ 
               cbInit();

This check marks implicit conversions of arrays to boolean values in a comparison. While in PHP an empty array is considered to be equal (but not identical) to false, this is not always apparent.

Consider making the comparison explicit by using empty(..) or ! empty(...) instead.

Loading history...

This check marks implicit conversions of arrays to boolean values in a comparison. While in PHP an empty array is considered to be equal (but not identical) to false, this is not always apparent.

Consider making the comparison explicit by using empty(..) or ! empty(...) instead.

Loading history...
                    'url' => CRUDBooster::adminPath($s['path']).'?return_url='.urlencode(Request::fullUrl()).'&parent_table='.$table_parent.'&parent_columns='.$s['parent_columns'].'&parent_columns_alias='.$s['parent_columns_alias'].'&parent_id=['.(! isset($s['custom_parent_id']) ? "id" : $s['custom_parent_id']).']&foreign_key='.$s['foreign_key'].'&label='.urlencode($s['label']),
The function str_limit() has been deprecated: Str::limit() should be used directly instead. Will be removed in Laravel 6.0. Ignorable by Annotation

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

                    $value = /** @scrutinizer ignore-deprecated */ str_limit($value, $col['str_limit']);

This function has been deprecated. The supplier of the function has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.

Loading history...

The break statement is not necessary if it is preceded for example by a return statement:

switch ($x) {
    case 1:
        return 'foo';
        break; // This break is not necessary and can be left off.

If you would like to keep this construct to be consistent with other case statements, you can safely mark this issue as a false-positive.

Loading history...
The function str_slug() has been deprecated: Str::slug() should be used directly instead. Will be removed in Laravel 6.0. Ignorable by Annotation

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

                $slug_name = /** @scrutinizer ignore-deprecated */ str_slug($di['label'], '');

This function has been deprecated. The supplier of the function has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.

Loading history...

This check marks implicit conversions of arrays to boolean values in a comparison. While in PHP an empty array is considered to be equal (but not identical) to false, this is not always apparent.

Consider making the comparison explicit by using empty(..) or ! empty(...) instead.

Loading history...
The function str_slug() has been deprecated: Str::slug() should be used directly instead. Will be removed in Laravel 6.0. Ignorable by Annotation

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

                $name = /** @scrutinizer ignore-deprecated */ str_slug($ro['label'], '');

This function has been deprecated. The supplier of the function has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.

Loading history...
The function str_slug() has been deprecated: Str::slug() should be used directly instead. Will be removed in Laravel 6.0. Ignorable by Annotation

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

                $name = /** @scrutinizer ignore-deprecated */ str_slug($ro['label'], '');

This function has been deprecated. The supplier of the function has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.

Loading history...
The function str_random() has been deprecated: Str::random() should be used directly instead. Will be removed in Laravel 6.0. Ignorable by Annotation

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

            $filename = md5(/** @scrutinizer ignore-deprecated */ str_random(5)).'.'.$ext;

This function has been deprecated. The supplier of the function has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.

Loading history...
  • Continously measure and track code quality
  • Eliminate bugs before they hit production
  • Code metrics simplified and easy to understand
  • Feedback on code quality changes between versions
  • Receive weekly code quality reports
  • Supported Languages

  • Python
  • Documentation

  • Getting Started
  • Configuring Scrutinizer
  • Refactorings
  • API Reference
  • Blog Posts

  • Viewing Analysis Data on GitHub and Bitbucket
  • Support for GitLab Repositories
  • Simplifying Debugging of UI Tests
  • View Analysis Results inside GitHub
  •