- Aug 30, 2024
-
-
jeremyjaouen authored
* fix panther * kiosk
-
jeremyjaouen authored
* remove broken flag * restore get message
-
- Jun 03, 2024
-
-
alaunois authored
-
- May 21, 2024
-
-
Laurent Calvet authored
Removal of the php-cs-fixer rule concerning date verification in PHP file headers
-
- May 20, 2024
-
-
Adrien Morais-Mestre authored
-
- Mar 29, 2024
-
-
Stéphane Chapron authored
fix(ci): correct datetime instantiation
-
- Mar 28, 2024
-
-
Stéphane Chapron authored
-
Laurent Calvet authored
-
- Feb 12, 2024
-
-
Kevin Duret authored
-
- Nov 23, 2023
-
-
Stéphane Chapron authored
-
- Oct 23, 2023
-
-
Kevin Duret authored
-
- Sep 21, 2023
-
-
abuathier authored
Co-authored-by: Arnaud Buathier <abuathier@centreon.com>
-
- Sep 01, 2023
-
-
abuathier authored
Co-authored-by: Arnaud Buathier <abuathier@centreon.com>
-
- Aug 21, 2023
-
-
Kevin Duret authored
-
- Aug 03, 2023
-
-
Kevin Duret authored
-
- Aug 02, 2023
-
-
jeremyjaouen authored
-
- Jul 18, 2023
-
-
Kevin Duret authored
Refs: MON-20421
-
- Jul 13, 2023
-
-
abuathier authored
* refacto: move methods * refacto: add comment for risky rules * fix: remove too much risky rules * fix: renamed rule
-
- Jul 12, 2023
-
-
Adrien Morais-Mestre authored
-
- Jul 07, 2023
-
-
Laurent Calvet authored
Added profile name to stop containers
-
- Jun 30, 2023
-
-
alaunois authored
-
- Jun 16, 2023
-
-
abuathier authored
-
- May 15, 2023
-
-
Dmytro Iosypenko authored
* initiate branch * recopied Command functionnality to test lib * create entry point * fix naming issue with repositories * added relative path display in CLI comment * added newlines at EOF * Update composer.json Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * Update src/Command/Model/FileTemplate.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * Update src/Command/Service/CreateCoreQueryArchCommandService.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * Update src/Command/createArch.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * Update src/Command/Service/CreateCoreQueryArchCommandService.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * Update src/Command/Service/CreateCoreCommandArchCommandService.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * review correction pt.1 * phpdoc + presenterInterface generated method * review fixes, pt. 2 * Update src/Command/createArch.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * review fixes pt. 3 * NewModel creation on Create command * refacto composition vs inheritance * coding style * fix bug ReadRepository * phpstan && cs fixer * implemented Model vs NewModel functionnality * fixed Create use case message error * Update src/Command/CreateCoreArchCommand.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * Update src/Command/Service/CreateCoreArchCommandService.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * Update src/Command/Service/CreateCoreArchCommandService.php Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com> * phpstan fixes * fixed issue * fixed delimiter issue --------- Co-authored-by: jeremyjaouen <jjaouen@centreon.com> Co-authored-by: abuathier <114949454+abuathier@users.noreply.github.com>
-
- Apr 05, 2023
-
-
Kevin Duret authored
-
- Apr 04, 2023
-
-
Kevin Duret authored
Refs: MON-16217
-
- Mar 28, 2023
-
-
abuathier authored
-
wtermellil authored
-
- Mar 21, 2023
-
-
Kevin Duret authored
-
- Mar 10, 2023
-
-
jeremyjaouen authored
-
- Jan 17, 2023
-
-
Adrien Morais-Mestre authored
* replace macros for JSON is equal to * cleanup * Update src/behat/Api/Context/JsonContextTrait.php Co-authored-by: Kevin Duret <kduret@centreon.com> Co-authored-by: Kevin Duret <kduret@centreon.com>
-
- Jan 04, 2023
-
-
Kevin Duret authored
-
- Dec 02, 2022
-
-
abuathier authored
-
- Oct 24, 2022
-
-
Dmytro Iosypenko authored
fixed duplicated config in composer.json
-
- Oct 04, 2022
-
-
Dmytro Iosypenko authored
* Added iAmLoggedInWith method to ApiContext * Update src/behat/Api/Context/ApiContext.php Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
-
- Sep 26, 2022
-
-
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: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update StringBackquotesCustomRule.php * Update VariableLengthCustomRule.php Changed switch to match * Apply suggestions from code review Co-authored-by: Kevin 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: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> * Update src/PHPStan/CustomRules/LoggerUseCaseCustomRule.php Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> * Update src/PHPStan/CustomRules/LoggerUseCaseCustomRule.php Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> * Update src/PHPStan/CustomRules/LogMethodInCatchCustomRule.php Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> * Update src/PHPStan/CustomRules/AbstractGetLoggerMethodsClass.php Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> * refacto unit tests * Update src/PHPStan/CustomRules/AbstractGetLoggerMethodsClass.php Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> * Update src/PHPStan/CustomRules/AbstractGetLoggerMethodsClass.php Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> Co-authored-by: jeremyjaouen <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: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/CentreonRuleErrorBuilder.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/RepositoryRules/RepositoryNameCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/RepositoryRules/RepositoryNameCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/RepositoryRules/RepositoryNameValidationByInterfaceCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> Co-authored-by: Kevin 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: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/StringBackquotesCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update StringBackquotesCustomRule.php * Update VariableLengthCustomRule.php Changed switch to match * Apply suggestions from code review Co-authored-by: Kevin 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: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> * Update src/PHPStan/CustomRules/LoggerUseCaseCustomRule.php Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> * Update src/PHPStan/CustomRules/LoggerUseCaseCustomRule.php Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> * Update src/PHPStan/CustomRules/LogMethodInCatchCustomRule.php Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> * Update src/PHPStan/CustomRules/AbstractGetLoggerMethodsClass.php Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> * refacto unit tests * Update src/PHPStan/CustomRules/AbstractGetLoggerMethodsClass.php Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> * Update src/PHPStan/CustomRules/AbstractGetLoggerMethodsClass.php Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com> Co-authored-by: jeremyjaouen <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: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/CentreonRuleErrorBuilder.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/RepositoryRules/RepositoryNameCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/RepositoryRules/RepositoryNameCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update src/PHPStan/CustomRules/RepositoryRules/RepositoryNameValidationByInterfaceCustomRule.php Co-authored-by: Kevin Duret <kduret@centreon.com> Co-authored-by: Kevin 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: Kevin Duret <kduret@centreon.com> Co-authored-by: jeremyjaouen <61694165+jeremyjaouen@users.noreply.github.com>
-
- Sep 16, 2022
-
-
Kevin Duret authored
Refs: MON-14509
-
- Sep 05, 2022
-
-
Dmytro Iosypenko authored
* installed php-cs-fixer as dependency, added .php-cs-fixer.dist.php config file * fix in config file * configured rule sharing * added documentation * fixed logic * removed group_import rule
-
- Aug 30, 2022
-
-
Dmytro Iosypenko authored
* installed php-cs-fixer as dependency, added .php-cs-fixer.dist.php config file * fix in config file * configured rule sharing * added documentation * fixed logic * Update src/PhpCsFixer/PhpCsFixerRuleSet.php Co-authored-by: Kevin Duret <kduret@centreon.com> * Update .php-cs-fixer.dist.php Co-authored-by: Kevin Duret <kduret@centreon.com> Co-authored-by: Kevin Duret <kduret@centreon.com>
-
- Aug 22, 2022
-
-
Stéphane Chapron authored
-
- Aug 05, 2022
-
-
Kevin Duret authored
-