mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Change some phpdocs to simple comments (#4945)
This commit is contained in:
parent
52c814525b
commit
36152b39b2
@ -11,7 +11,7 @@ if (file_exists(SYSTEMPATH . 'Config/Routes.php')) {
|
||||
require SYSTEMPATH . 'Config/Routes.php';
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* --------------------------------------------------------------------
|
||||
* Router Setup
|
||||
* --------------------------------------------------------------------
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
use CodeIgniter\Exceptions\PageNotFoundException;
|
||||
|
||||
/**
|
||||
/*
|
||||
* System URI Routing
|
||||
*
|
||||
* This file contains any routing to system tools, such as command-line
|
||||
|
@ -9,9 +9,7 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
* CodeIgniter Array Helpers
|
||||
*/
|
||||
// CodeIgniter Array Helpers
|
||||
|
||||
if (! function_exists('dot_array_search')) {
|
||||
/**
|
||||
|
@ -9,9 +9,7 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
* CodeIgniter Date Helpers
|
||||
*/
|
||||
// CodeIgniter Date Helpers
|
||||
|
||||
if (! function_exists('now')) {
|
||||
/**
|
||||
|
@ -9,9 +9,7 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
* CodeIgniter File System Helpers
|
||||
*/
|
||||
// CodeIgniter File System Helpers
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
if (! function_exists('directory_map')) {
|
||||
|
@ -11,9 +11,7 @@
|
||||
|
||||
use Config\App;
|
||||
|
||||
/**
|
||||
* CodeIgniter Form Helpers
|
||||
*/
|
||||
// CodeIgniter Form Helpers
|
||||
|
||||
use Config\Services;
|
||||
|
||||
|
@ -15,9 +15,7 @@ use Config\Mimes;
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* CodeIgniter HTML Helpers
|
||||
*/
|
||||
// CodeIgniter HTML Helpers
|
||||
if (! function_exists('ul')) {
|
||||
/**
|
||||
* Unordered List
|
||||
|
@ -11,9 +11,7 @@
|
||||
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* CodeIgniter Inflector Helpers
|
||||
*/
|
||||
// CodeIgniter Inflector Helpers
|
||||
if (! function_exists('singular')) {
|
||||
/**
|
||||
* Singular
|
||||
|
@ -11,9 +11,7 @@
|
||||
|
||||
use Config\Services;
|
||||
|
||||
/**
|
||||
* CodeIgniter Number Helpers
|
||||
*/
|
||||
// CodeIgniter Number Helpers
|
||||
|
||||
if (! function_exists('number_to_size')) {
|
||||
/**
|
||||
|
@ -11,9 +11,7 @@
|
||||
|
||||
use Config\Services;
|
||||
|
||||
/**
|
||||
* CodeIgniter Security Helpers
|
||||
*/
|
||||
// CodeIgniter Security Helpers
|
||||
|
||||
if (! function_exists('sanitize_filename')) {
|
||||
/**
|
||||
|
@ -12,9 +12,7 @@
|
||||
use CodeIgniter\Model;
|
||||
use CodeIgniter\Test\Fabricator;
|
||||
|
||||
/**
|
||||
* CodeIgniter Test Helpers
|
||||
*/
|
||||
// CodeIgniter Test Helpers
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
if (! function_exists('fake')) {
|
||||
|
@ -11,9 +11,7 @@
|
||||
|
||||
use Config\ForeignCharacters;
|
||||
|
||||
/**
|
||||
* CodeIgniter Text Helpers
|
||||
*/
|
||||
// CodeIgniter Text Helpers
|
||||
//--------------------------------------------------------------------
|
||||
|
||||
if (! function_exists('word_limiter')) {
|
||||
|
@ -15,9 +15,7 @@ use CodeIgniter\Router\Exceptions\RouterException;
|
||||
use Config\App;
|
||||
use Config\Services;
|
||||
|
||||
/**
|
||||
* CodeIgniter URL Helpers
|
||||
*/
|
||||
// CodeIgniter URL Helpers
|
||||
|
||||
if (! function_exists('_get_uri')) {
|
||||
/**
|
||||
|
@ -9,9 +9,7 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
* CodeIgniter XML Helpers
|
||||
*/
|
||||
// CodeIgniter XML Helpers
|
||||
|
||||
if (! function_exists('xml_convert')) {
|
||||
/**
|
||||
|
@ -465,7 +465,7 @@ class Parser extends View
|
||||
{
|
||||
$pattern = '/\{\s*(if|elseif)\s*((?:\()?(.*?)(?:\))?)\s*\}/ms';
|
||||
|
||||
/**
|
||||
/*
|
||||
* For each match:
|
||||
* [0] = raw match `{if var}`
|
||||
* [1] = conditional `if`
|
||||
|
@ -2,7 +2,5 @@
|
||||
|
||||
namespace Tests\Support\Config;
|
||||
|
||||
/**
|
||||
* This is a simple file to include for testing the RouteCollection class.
|
||||
*/
|
||||
// This is a simple file to include for testing the RouteCollection class.
|
||||
$routes->add('testing', 'TestController::index', ['as' => 'testing-index']);
|
||||
|
@ -384,6 +384,10 @@ final class CodeIgniter4 extends AbstractRuleset
|
||||
'phpdoc_summary' => false,
|
||||
'phpdoc_tag_casing' => ['tags' => ['inheritDoc']],
|
||||
'phpdoc_tag_type' => ['tags' => ['inheritDoc' => 'inline']],
|
||||
'phpdoc_to_comment' => false,
|
||||
'phpdoc_to_param_type' => false,
|
||||
'phpdoc_to_property_type' => false,
|
||||
'phpdoc_to_return_type' => false,
|
||||
'phpdoc_trim' => true,
|
||||
'phpdoc_trim_consecutive_blank_line_separation' => true,
|
||||
'phpdoc_types' => ['groups' => ['simple', 'alias', 'meta']],
|
||||
|
Loading…
x
Reference in New Issue
Block a user