Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: PHPStan Codeigniter no type specified #7884

Closed

Conversation

ddevsr
Copy link
Collaborator

@ddevsr ddevsr commented Aug 30, 2023

Description
Supersedes #7830

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@ddevsr ddevsr added the documentation Pull requests for documentation only label Sep 11, 2023
@ddevsr ddevsr force-pushed the codeigniter-system-specified branch from 5508508 to 0fb7754 Compare September 15, 2023 01:35
'message' => '#^Parameter \\#1 \\$node \\(PhpParser\\\\Node\\\\Stmt\\) of method Utils\\\\PHPStan\\\\CheckUseStatementsAfterLicenseRule\\:\\:processNode\\(\\) should be contravariant with parameter \\$node \\(PhpParser\\\\Node\\) of method PHPStan\\\\Rules\\\\Rule\\<PhpParser\\\\Node\\>\\:\\:processNode\\(\\)$#',
'count' => 1,
'path' => __DIR__ . '/utils/PHPStan/CheckUseStatementsAfterLicenseRule.php',
];

return ['parameters' => ['ignoreErrors' => $ignoreErrors]];
Copy link
Member

@kenjis kenjis Sep 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You removed too many lines in phpstan-baseline.php.
So now there are 931 errors.

Error:  [ERROR] Found 931 errors     

https://github.com/codeigniter4/CodeIgniter4/actions/runs/6192815305/job/16813443982?pr=7884

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, i missed merge conflict. Soon i'll make another PR fresh

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Run git rebase.

@ddevsr ddevsr added the stale Pull requests with conflicts label Sep 15, 2023
@ddevsr ddevsr closed this Sep 16, 2023
@ddevsr ddevsr deleted the codeigniter-system-specified branch September 16, 2023 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Pull requests for documentation only stale Pull requests with conflicts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants