Skip to content
This repository was archived by the owner on Feb 21, 2022. It is now read-only.

Fixed strict type in PHP file #31

Merged
merged 1 commit into from
Dec 22, 2016
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 bin/php-formatter
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@
* @author Marc Morera <[email protected]>
*/

declare(strict_types=1);

require __DIR__ . '/../src/bootstrap.php';

use Mmoreram\PHPFormatter\Console\Application;

error_reporting(-1);
ini_set('display_errors', 1);
ini_set('display_errors', '1');

// run the command application
$application = new Application();
Expand Down
Binary file modified build/php-formatter.phar
Binary file not shown.
4 changes: 2 additions & 2 deletions src/PHPFormatter/Console/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class Application extends BaseApplication
public function __construct()
{
if (function_exists('ini_set') && extension_loaded('xdebug')) {
ini_set('xdebug.show_exception_trace', false);
ini_set('xdebug.scream', false);
ini_set('xdebug.show_exception_trace', '0');
ini_set('xdebug.scream', '0');
}

if (function_exists('date_default_timezone_set') && function_exists('date_default_timezone_get')) {
Expand Down