informatique:php
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| informatique:php [18/10/2025 10:08] – [Console] cyrille | informatique:php [14/07/2026 08:05] (Version actuelle) – [intelephense] cyrille | ||
|---|---|---|---|
| Ligne 98: | Ligne 98: | ||
| * [[https:// | * [[https:// | ||
| + | ==== Les Enums (avec valeurs) ==== | ||
| + | <code php> | ||
| + | enum DocumentFragmentType: | ||
| + | { | ||
| + | case Sujet = ' | ||
| + | case Situation = ' | ||
| + | public function priority() | ||
| + | { | ||
| + | /* pas besoin 😉 | ||
| + | return match ($this) { | ||
| + | DocumentFragmentType:: | ||
| + | DocumentFragmentType:: | ||
| + | }; | ||
| + | */ | ||
| + | return DocumentFragmentTypePriority:: | ||
| + | } | ||
| + | }; | ||
| + | enum DocumentFragmentTypePriority: | ||
| + | { | ||
| + | case Sujet = 1; | ||
| + | case Situation = 3; | ||
| + | }; | ||
| + | |||
| + | </ | ||
| ===== Outillage ===== | ===== Outillage ===== | ||
| Ligne 109: | Ligne 133: | ||
| [[/ | [[/ | ||
| + | |||
| + | ==== Phpstan ==== | ||
| + | |||
| + | https:// | ||
| + | |||
| + | < | ||
| + | /* @phpstan-ignore-next-line */ | ||
| + | </ | ||
| + | |||
| + | ==== intelephense ==== | ||
| + | |||
| + | https:// | ||
| + | |||
| + | <code php> | ||
| + | /** @disregard [OPTIONAL CODE] [OPTIONAL DESCRIPTION] */ | ||
| + | /** @disregard P1013 method exists on runtime type */ | ||
| + | </ | ||
| ==== phpUnderControl ==== | ==== phpUnderControl ==== | ||
| + | <WRAP center round important 60%> | ||
| + | phpUnderControl c'est terminé. | ||
| + | </ | ||
| + | |||
| + | |||
| + | * [[http:// | ||
| + | * https:// | ||
| - | [[http:// | ||
| * Testing and software metrics, PHPUnit output: Code Coverage, Project Mess Detection and Software Metrics. | * Testing and software metrics, PHPUnit output: Code Coverage, Project Mess Detection and Software Metrics. | ||
| * Documentation: | * Documentation: | ||
| Ligne 141: | Ligne 188: | ||
| ==== FirePHP ==== | ==== FirePHP ==== | ||
| + | <WRAP center round important 60%> | ||
| + | Firebug c'est fini 😩 | ||
| + | </ | ||
| http:// | http:// | ||
| Ligne 148: | Ligne 198: | ||
| ==== SimpleTest ==== | ==== SimpleTest ==== | ||
| + | <WRAP center round important 60%> | ||
| + | SimpleTest c'est fini. | ||
| + | </ | ||
| - | http:// | + | <del>http:// |
| It is a PHP unit test and web test framework. Users of JUnit will be familiar with most of the interface. The JWebUnit style functionality is more complete now. It has support for SSL, forms, frames, proxies and basic authentication. The idea is that common but fiddly PHP tasks, such as logging into a site, can be tested easily. | It is a PHP unit test and web test framework. Users of JUnit will be familiar with most of the interface. The JWebUnit style functionality is more complete now. It has support for SSL, forms, frames, proxies and basic authentication. The idea is that common but fiddly PHP tasks, such as logging into a site, can be tested easily. | ||
| Ligne 192: | Ligne 245: | ||
| ==== PHP_CodeSniffer ==== | ==== PHP_CodeSniffer ==== | ||
| - | http:// | + | * https:// |
| + | * <del>http:// | ||
| + | |||
| + | PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards. | ||
| + | |||
| + | PHP_CodeSniffer is a set of two PHP scripts: | ||
| - | PHP_CodeSniffer is a PHP5 script that tokenises and " | + | * the main '' |
| + | * and '' | ||
| ===== Librairies ===== | ===== Librairies ===== | ||
informatique/php.1760774923.txt.gz · Dernière modification : de cyrille
