mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-11-03 22:13:18 -05:00 
			
		
		
		
	* Create PHP CS Fixer config and add to CI workflow * Run php cs fixer on project * Add newline at end of file * Update to use PHP CS Fixer v3 * Run v3 config on project * Run seperate config in CI
		
			
				
	
	
		
			19 lines
		
	
	
		
			343 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			343 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace Crater\Http\Middleware;
 | 
						|
 | 
						|
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
 | 
						|
 | 
						|
class TrimStrings extends Middleware
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * The names of the attributes that should not be trimmed.
 | 
						|
     *
 | 
						|
     * @var array
 | 
						|
     */
 | 
						|
    protected $except = [
 | 
						|
        'password',
 | 
						|
        'password_confirmation',
 | 
						|
    ];
 | 
						|
}
 |