Skip to content
  1. Aug 30, 2024
  2. Jun 03, 2024
  3. May 21, 2024
  4. May 20, 2024
  5. Mar 29, 2024
  6. Mar 28, 2024
  7. Feb 12, 2024
  8. Nov 23, 2023
  9. Oct 23, 2023
  10. Sep 21, 2023
  11. Sep 01, 2023
  12. Aug 21, 2023
  13. Aug 03, 2023
  14. Aug 02, 2023
  15. Jul 18, 2023
  16. Jul 13, 2023
  17. Jul 12, 2023
  18. Jul 07, 2023
  19. Jun 30, 2023
  20. Jun 16, 2023
  21. May 15, 2023
  22. Apr 05, 2023
  23. Apr 04, 2023
  24. Mar 28, 2023
  25. Mar 21, 2023
  26. Mar 10, 2023
  27. Jan 17, 2023
  28. Jan 04, 2023
  29. Dec 02, 2022
  30. Oct 24, 2022
  31. Oct 04, 2022
  32. Sep 26, 2022
    • Dmytro Iosypenko's avatar
      feat(phpstan) implementation of PHPStan Custom Rules (#208) · d3ded3c1
      Dmytro Iosypenko authored
      
      
      * feat(phpstan) prepared phpunit and pest environments (#196)
      
      * Prepared PHPUnit and Pest Test environment
      
      * Fixed issues with config files
      
      * reinstalled pest with minor fixes to config files
      
      * deleted autogenerated files by pest
      
      * feat(phpstan): implementation of variable custom rules (#198)
      
      * Implementation of Variable length custom rules and Back Tick variable rules
      
      * Implementation of Misc PHPStan Custom Rules + refacto
      
      * Fixed namespace issue
      
      * Fixed class name typo
      
      * Fixed small typos
      
      * Implementation of Variable length custom rules and Back Tick variable rules
      
      * Implementation of Misc PHPStan Custom Rules + refacto
      
      * Fixed namespace issue
      
      * Fixed class name typo
      
      * Fixed small typos
      
      * implemented unit test for variable custom rules
      
      * deleted old files
      
      * fixes
      
      * removed calls to getType in StringBackquotesCustomRuleTest.php
      
      * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update StringBackquotesCustomRule.php
      
      * Update VariableLengthCustomRule.php
      
      Changed switch to match
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * feat(phpstan) implementation of log custom rules (#200)
      
      * implemented LoggerUseCaseCustomRule
      
      * implemented try/catch custom rule
      
      * refacto try/catch custom rule
      
      * refacto try/catch custom rule v2
      
      * rewrite buildErrorMessage() method
      
      * corrected a bug in LoggerUseCaseCustomRule
      
      * refacto tests
      
      * implemented log custom rules and unit tests
      
      * added dependecy for unit tests
      
      * Update src/PHPStan/CustomRules/LogMethodInCatchCustomRule.php
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      * Update src/PHPStan/CustomRules/LoggerUseCaseCustomRule.php
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      * Update src/PHPStan/CustomRules/LoggerUseCaseCustomRule.php
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      * Update src/PHPStan/CustomRules/LogMethodInCatchCustomRule.php
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      * Update src/PHPStan/CustomRules/AbstractGetLoggerMethodsClass.php
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      * refacto unit tests
      
      * Update src/PHPStan/CustomRules/AbstractGetLoggerMethodsClass.php
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      * Update src/PHPStan/CustomRules/AbstractGetLoggerMethodsClass.php
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      * feat(phpstan) implementation of repository custom rules (#205)
      
      * refacto of previous PR
      
      * Repository rules implementation
      
      * implemented unit tests for  Repository custom rules part 1
      
      * reorganized rules in folders by type, implemented unit tests
      
      * fix newlines
      
      * Update .gitignore
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/CentreonRuleErrorBuilder.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/RepositoryRules/RepositoryNameCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/RepositoryRules/RepositoryNameCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/RepositoryRules/RepositoryNameValidationByInterfaceCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * feat(phpstan) prepared phpunit and pest environments (#196)
      
      * Prepared PHPUnit and Pest Test environment
      
      * Fixed issues with config files
      
      * reinstalled pest with minor fixes to config files
      
      * deleted autogenerated files by pest
      
      * feat(phpstan): implementation of variable custom rules (#198)
      
      * Implementation of Variable length custom rules and Back Tick variable rules
      
      * Implementation of Misc PHPStan Custom Rules + refacto
      
      * Fixed namespace issue
      
      * Fixed class name typo
      
      * Fixed small typos
      
      * Implementation of Variable length custom rules and Back Tick variable rules
      
      * Implementation of Misc PHPStan Custom Rules + refacto
      
      * Fixed namespace issue
      
      * Fixed class name typo
      
      * Fixed small typos
      
      * implemented unit test for variable custom rules
      
      * deleted old files
      
      * fixes
      
      * removed calls to getType in StringBackquotesCustomRuleTest.php
      
      * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update StringBackquotesCustomRule.php
      
      * Update VariableLengthCustomRule.php
      
      Changed switch to match
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * feat(phpstan) implementation of log custom rules (#200)
      
      * implemented LoggerUseCaseCustomRule
      
      * implemented try/catch custom rule
      
      * refacto try/catch custom rule
      
      * refacto try/catch custom rule v2
      
      * rewrite buildErrorMessage() method
      
      * corrected a bug in LoggerUseCaseCustomRule
      
      * refacto tests
      
      * implemented log custom rules and unit tests
      
      * added dependecy for unit tests
      
      * Update src/PHPStan/CustomRules/LogMethodInCatchCustomRule.php
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      * Update src/PHPStan/CustomRules/LoggerUseCaseCustomRule.php
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      * Update src/PHPStan/CustomRules/LoggerUseCaseCustomRule.php
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      * Update src/PHPStan/CustomRules/LogMethodInCatchCustomRule.php
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      * Update src/PHPStan/CustomRules/AbstractGetLoggerMethodsClass.php
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      * refacto unit tests
      
      * Update src/PHPStan/CustomRules/AbstractGetLoggerMethodsClass.php
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      * Update src/PHPStan/CustomRules/AbstractGetLoggerMethodsClass.php
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      
      * feat(phpstan) implementation of repository custom rules (#205)
      
      * refacto of previous PR
      
      * Repository rules implementation
      
      * implemented unit tests for  Repository custom rules part 1
      
      * reorganized rules in folders by type, implemented unit tests
      
      * fix newlines
      
      * Update .gitignore
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/CentreonRuleErrorBuilder.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/RepositoryRules/RepositoryNameCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/RepositoryRules/RepositoryNameCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * Update src/PHPStan/CustomRules/RepositoryRules/RepositoryNameValidationByInterfaceCustomRule.php
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      
      * feat(phpstan) implementation of architecture custom rules (#207)
      
      * correction in Logger Custom Rule regarding Directory Separator
      
      * implemented architecture rules
      
      * implemented architecture rules
      
      * implemented unit tests for architecture rules
      
      * fixes
      
      * fix
      
      * refacto Exception Custom Rule
      
      * fix
      
      * fix
      
      * newlines in the end of files
      
      * newlines before return
      
      * Update src/PHPStan/CustomRules/Traits/UseCaseTrait.php
      
      * added additional checks for Repository Rules
      
      * fix check for exception in repo rule
      
      * refined Repository Custom Rules
      
      * Exception Rule: excluded a case when Exception is thrown in constructor
      
      * Exception Rule: removed exception for Exceptions in constructor method
      
      * fix(phpstan) implement a particular case in exception custom rule  (#212)
      
      * excuded private methods from error checking
      
      * added unit test for constructor method exception from rule
      
      * additional checks to solve process exited with 1 issue
      
      * cleanup
      
      * composer.lock
      
      Co-authored-by: default avatarKevin Duret <kduret@centreon.com>
      Co-authored-by: default avatarjeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
      d3ded3c1
  33. Sep 16, 2022
  34. Sep 05, 2022
  35. Aug 30, 2022
  36. Aug 22, 2022
  37. Aug 05, 2022