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 [08/09/2023 07:41] – [Outillage] cyrille | informatique:php [14/07/2026 08:05] (Version actuelle) – [intelephense] cyrille | ||
|---|---|---|---|
| Ligne 37: | Ligne 37: | ||
| ==== Dans les plus connus ==== | ==== Dans les plus connus ==== | ||
| + | * [[informatique: | ||
| + | * [[/ | ||
| * [[http:// | * [[http:// | ||
| - | * [[http:// | ||
| * Prado | * Prado | ||
| - | * [[/informatique/php/laravel|Laravel]] The PHP Framework For Web Artisans. | + | * [[informatique:php:laravel_1|Laravel]] The PHP Framework For Web Artisans. |
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||
| Ligne 90: | Ligne 91: | ||
| Les generators " | Les generators " | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| + | ===== Syntaxe ===== | ||
| + | |||
| + | Les closures et les classes anonymes | ||
| + | * [[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 99: | 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 131: | Ligne 188: | ||
| ==== FirePHP ==== | ==== FirePHP ==== | ||
| + | <WRAP center round important 60%> | ||
| + | Firebug c'est fini 😩 | ||
| + | </ | ||
| http:// | http:// | ||
| Ligne 138: | 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 182: | Ligne 245: | ||
| ==== PHP_CodeSniffer ==== | ==== PHP_CodeSniffer ==== | ||
| - | http:// | + | * https:// |
| + | * <del>http:// | ||
| - | PHP_CodeSniffer is a PHP5 script that tokenises and " | + | PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards. |
| + | |||
| + | PHP_CodeSniffer is a set of two PHP scripts: | ||
| + | |||
| + | * the main '' | ||
| + | * and '' | ||
| ===== Librairies ===== | ===== Librairies ===== | ||
| Ligne 210: | Ligne 279: | ||
| [[http:// | [[http:// | ||
| + | |||
| + | ==== Console ==== | ||
| + | |||
| + | * https:// | ||
| + | * A lightweight, | ||
| + | * Aucune dépendence | ||
| ==== Cron ==== | ==== Cron ==== | ||
informatique/php.1694151685.txt.gz · Dernière modification : de cyrille
