Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump friendsofphp/php-cs-fixer from 3.4.0 to 3.13.0 #171

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@

$request = $app->getRequest();

var_dump(__FILE__); var_dump($request); die(); // debug
var_dump(__FILE__);
var_dump($request);
die(); // debug
1 change: 0 additions & 1 deletion classes/Cache.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/
abstract class Cache
{

// key parts separator
const SEPARATOR = '::';

Expand Down
1 change: 0 additions & 1 deletion classes/Config.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/
class Config
{

// directory to load config files from
private $dir = 0;

Expand Down
1 change: 0 additions & 1 deletion classes/Database.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class DatabaseConnectionException extends DatabaseException
*/
abstract class Database
{

// debug
protected $debug;

Expand Down
1 change: 0 additions & 1 deletion classes/DatabaseResult.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

class DatabaseResult implements Iterator, Countable
{

// database driver
protected $database;

Expand Down
1 change: 0 additions & 1 deletion classes/Debug.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/
class Debug
{

// log level constants
const ERROR = 1;
const WARNING = 2;
Expand Down
1 change: 0 additions & 1 deletion classes/MessageQueue.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
*/
abstract class MessageQueue
{

// key parts separator
const SEPARATOR = '::';

Expand Down
1 change: 0 additions & 1 deletion classes/NanoBaseTest.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
*/
class NanoBaseTest extends TestCase
{

/* @var $app \NanoApp */
protected $app;

Expand Down
1 change: 0 additions & 1 deletion classes/NanoCliApp.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

class NanoCliApp extends NanoApp
{

/**
* Create application based on given config
*/
Expand Down
1 change: 0 additions & 1 deletion classes/NanoObject.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

abstract class NanoObject
{

// application
protected $app;

Expand Down
1 change: 0 additions & 1 deletion classes/Output.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/
abstract class Output
{

// data to be processed
protected $data;

Expand Down
7 changes: 3 additions & 4 deletions classes/Request.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/
class Request
{

// constants for request type
const GET = 1;
const POST = 2;
Expand Down Expand Up @@ -54,17 +53,17 @@ public function __construct(array $params = [], array $env = [])
$this->type = self::POST;
break;

// "fake" request types for API dispatcher
// "fake" request types for API dispatcher
case 'API':
$this->type = self::API;
break;

// "fake" request types for internal dispatcher
// "fake" request types for internal dispatcher
case 'INTERNAL':
$this->type = self::INTERNAL;
break;

// "fake" request types for CLI scripts
// "fake" request types for CLI scripts
case 'CLI':
$this->type = self::CLI;
break;
Expand Down
1 change: 0 additions & 1 deletion classes/Response.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

class Response
{

// date format to be used for HTTP headers
const DATE_RFC1123 = 'D, d M Y H:i:s \G\M\T';

Expand Down
1 change: 0 additions & 1 deletion classes/ResultsWrapper.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/
class ResultsWrapper
{

// results
protected $results;

Expand Down
2 changes: 1 addition & 1 deletion classes/Router.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function route(Request $request)
$methodName = null;
break;

// controller and method name: /product/bar (with parameters)
// controller and method name: /product/bar (with parameters)
case 2:
default:
$controllerName = $pathParts[0];
Expand Down
2 changes: 1 addition & 1 deletion classes/StaticAssets.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ private function serveSingleAsset($requestPath, $ext)
$content = $this->getProcessor('js')->processFiles($files);
break;

// return file's content (images)
// return file's content (images)
default:
$content = file_get_contents($localPath);
}
Expand Down
1 change: 0 additions & 1 deletion classes/View.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

class View
{

// application
private $app;

Expand Down
1 change: 0 additions & 1 deletion classes/cache/CacheRedis.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
class CacheRedis extends Cache
{

// Redis connection
private $redis;

Expand Down
1 change: 0 additions & 1 deletion classes/database/DatabaseMysql.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/
class DatabaseMysql extends Database
{

// @see http://php.net/manual/en/mysqlinfo.concepts.buffering.php
const RESULT_MODE = MYSQLI_STORE_RESULT;

Expand Down
1 change: 0 additions & 1 deletion classes/http/Response.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/
class Response
{

// response from HTTP server
private $content;

Expand Down
1 change: 0 additions & 1 deletion classes/logger/NanoLogger.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
class NanoLogger
{

/**
* List of handlers defined via \Nano\Logger\NanoLogger::pushHandler
*
Expand Down
1 change: 0 additions & 1 deletion classes/logger/SimpleSyslogUdpHandler.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
*/
class SimpleSyslogUdpHandler extends SyslogUdpHandler
{

/**
* Make common syslog header (see rfc5424)
*
Expand Down
1 change: 0 additions & 1 deletion classes/mq/MessageQueueRedis.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
*/
class MessageQueueRedis extends MessageQueue
{

// connection with server
private $redis;

Expand Down
1 change: 0 additions & 1 deletion classes/output/OutputJson.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/
class OutputJson extends Output
{

/**
* Render current data
*/
Expand Down
1 change: 0 additions & 1 deletion classes/output/OutputTemplate.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
*/
class OutputTemplate extends Output
{

/* @var Template $template */
private $template;
private $templateName;
Expand Down
1 change: 0 additions & 1 deletion classes/output/OutputXml.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
*/
class OutputXml extends Output
{

/**
* Converts given array into XML and adds nodes into given element
*/
Expand Down
3 changes: 1 addition & 2 deletions classes/staticassets/StaticAssetsCss.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

class StaticAssetsCss extends StaticAssetsProcessor
{

// embed images smaller then (size in bytes)
const IMAGE_EMBED_THRESHOLD = 2048;

Expand Down Expand Up @@ -150,7 +149,7 @@ public function encodeImage($imageFile)
$type = 'jpeg';
break;

// not supported image type provided
// not supported image type provided
default:
return false;
}
Expand Down
1 change: 0 additions & 1 deletion classes/staticassets/StaticAssetsJs.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

class StaticAssetsJs extends StaticAssetsProcessor
{

/**
* Process given JS files
*
Expand Down
1 change: 0 additions & 1 deletion classes/utils/DOM.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

class DOM
{

// charset used by source XML/HTML
private $charset;

Expand Down
1 change: 0 additions & 1 deletion classes/utils/Http.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/
class Http
{

/**
* Send GET HTTP request for a given URL
*
Expand Down
1 change: 0 additions & 1 deletion classes/utils/HttpClient.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

class HttpClient
{

// HTTP request types
const GET = 'GET';
const POST = 'POST';
Expand Down
1 change: 0 additions & 1 deletion classes/utils/ImageGD.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

class ImageGD extends Image
{

/**
* Create an instance of Image for given raw image data
*
Expand Down
1 change: 0 additions & 1 deletion classes/utils/ImageImagick.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

class ImageImagick extends Image
{

/**
* Create an instance of Image for given raw image data
* @throws Exception
Expand Down
1 change: 0 additions & 1 deletion classes/utils/Utils.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

class Utils
{

/**
* Creates temporary file and returns its name
*
Expand Down
Loading