Skip to content

Commit 44b3a55

Browse files
committed
Add php-cs-fixer.phar
1 parent a3a339d commit 44b3a55

File tree

374 files changed

+13613
-13200
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

374 files changed

+13613
-13200
lines changed

.php-cs-fixer.dist.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
->in(__DIR__ . '/src')
55
->in(__DIR__ . '/recipe')
66
->in(__DIR__ . '/contrib')
7-
->in(__DIR__ . '/tests');
7+
->in(__DIR__ . '/tests')
8+
->in(__DIR__ . '/vendor'); // Also fix vendor files as we have them under git control.
89

910
return (new PhpCsFixer\Config())
1011
->setRules([
1112
'@PER-CS' => true,
13+
'nullable_type_declaration_for_default_null_value' => true,
1214
])
1315
->setFinder($finder);

contrib/bugsnag.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
45
## Configuration

contrib/cachetool.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
45
## Configuration

contrib/chatwork.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
# Chatwork Recipe
45

contrib/cimonitor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
Monitor your deployments on [CIMonitor](https://github.com/CIMonitor/CIMonitor).
45

contrib/cloudflare.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
45
### Configuration

contrib/cpanel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
### Description
45
This is a recipe that uses the [cPanel 2 API](https://documentation.cPanel.net/display/DD/Guide+to+cPanel+API+2).

contrib/crontab.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
Recipe for adding crontab jobs.
45

contrib/directadmin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
### Configuration
45
- `directadmin` – array with configuration for DirectAdmin

contrib/discord.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/*
34
## Installing
45

0 commit comments

Comments
 (0)