Browse Source

Add note about PHPStan execution

mscherer 3 years ago
parent
commit
d25dc8f591
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .github/CONTRIBUTING.md

+ 4 - 0
.github/CONTRIBUTING.md

@@ -84,6 +84,10 @@ And after that perform the checks via:
 
     composer stan
 
+Note that updating the baselines need to be done with the same PHP version it is run online.
+That is usually the minimum version.
+Make sure to "composer install" and set up the stan tools with it and then also execute them.
+
 ## Reporting a Security Issue
 
 If you've found a security related issue in CakePHP, please don't open an issue in github. Instead, contact us at security@cakephp.org. For more information on how we handle security issues, [see the CakePHP Security Issue Process](https://book.cakephp.org/4/en/contributing/tickets.html#reporting-security-issues).