Skip to content

Commit b5d813b

Browse files
committed
singleline declare statements
1 parent 4707546 commit b5d813b

135 files changed

Lines changed: 135 additions & 405 deletions

File tree

Some content is hidden

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

ncs.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
/**
44
* Rules for Nette Coding Standard
55
* https://github.com/nette/coding-standard
66
*/
77

8-
declare(strict_types=1);
9-
108
return [
119
// constants in src/PhpGenerator/Type.php
1210
'lowercase_static_reference' => false,

src/PhpGenerator/Attribute.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
/**
44
* This file is part of the Nette Framework (https://nette.org)
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8-
declare(strict_types=1);
9-
108
namespace Nette\PhpGenerator;
119

1210
use Nette;

src/PhpGenerator/ClassLike.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
/**
44
* This file is part of the Nette Framework (https://nette.org)
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8-
declare(strict_types=1);
9-
108
namespace Nette\PhpGenerator;
119

1210
use Nette;

src/PhpGenerator/ClassManipulator.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
/**
44
* This file is part of the Nette Framework (https://nette.org)
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8-
declare(strict_types=1);
9-
108
namespace Nette\PhpGenerator;
119

1210
use Nette;

src/PhpGenerator/ClassType.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
/**
44
* This file is part of the Nette Framework (https://nette.org)
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8-
declare(strict_types=1);
9-
108
namespace Nette\PhpGenerator;
119

1210
use Nette;

src/PhpGenerator/Closure.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
/**
44
* This file is part of the Nette Framework (https://nette.org)
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8-
declare(strict_types=1);
9-
108
namespace Nette\PhpGenerator;
119

1210

src/PhpGenerator/Constant.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
/**
44
* This file is part of the Nette Framework (https://nette.org)
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8-
declare(strict_types=1);
9-
108
namespace Nette\PhpGenerator;
119

1210

src/PhpGenerator/Dumper.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
/**
44
* This file is part of the Nette Framework (https://nette.org)
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8-
declare(strict_types=1);
9-
108
namespace Nette\PhpGenerator;
119

1210
use Nette;

src/PhpGenerator/EnumCase.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
/**
44
* This file is part of the Nette Framework (https://nette.org)
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8-
declare(strict_types=1);
9-
108
namespace Nette\PhpGenerator;
119

1210

src/PhpGenerator/EnumType.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
/**
44
* This file is part of the Nette Framework (https://nette.org)
55
* Copyright (c) 2004 David Grudl (https://davidgrudl.com)
66
*/
77

8-
declare(strict_types=1);
9-
108
namespace Nette\PhpGenerator;
119

1210
use Nette;

0 commit comments

Comments
 (0)