Ensure empty lines at ends of files.

This commit is contained in:
Lonnie Ezell 2016-03-18 22:04:59 -05:00
parent 2dbdf08ead
commit 47e5f963e1
17 changed files with 22 additions and 22 deletions

View File

@ -27,4 +27,4 @@ Simply calling this will run the entire test suite.
### Checking Code Coverage
Code Coverage requires that XDebug is also install and running in your current PHP setup. The following command will run coverage, provide a coverage report on screen, in a text file (coverage.txt) and within the /coverage directory.
$ phpunit --colors --coverage-text=coverage.txt --coverage-html=coverage/
$ phpunit --colors --coverage-text=coverage.txt --coverage-html=coverage/

View File

@ -3,4 +3,4 @@
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>
</IfModule>

View File

@ -17,4 +17,4 @@ use CodeIgniter\Hooks\Hooks;
*
* Example:
* Hooks::on('create', [$myInstance, 'myMethod']);
*/
*/

View File

@ -327,4 +327,4 @@ class Mimes
//--------------------------------------------------------------------
}
}

View File

@ -10,4 +10,4 @@ class Home extends \CodeIgniter\Controller {
//--------------------------------------------------------------------
}
}

View File

@ -5,4 +5,4 @@ echo "\nERROR: ",
$heading,
"\n\n",
$message,
"\n\n";
"\n\n";

View File

@ -83,4 +83,4 @@ defined('BASEPATH') OR exit('No direct script access allowed');
</p>
</div>
</body>
</html>
</html>

View File

@ -380,4 +380,4 @@
</div>
</body>
</html>
</html>

View File

@ -22,4 +22,4 @@
</body>
</html>
</html>

View File

@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.

View File

@ -18,4 +18,4 @@
<errors>./api/{DATE}.errors.log</errors>
</paths>
</logging>
</phpdoc>
</phpdoc>

View File

@ -27,4 +27,4 @@
</exclude>
</whitelist>
</filter>
</phpunit>
</phpunit>

View File

@ -3,4 +3,4 @@
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>
</IfModule>

View File

@ -366,7 +366,7 @@ class CLI
/**
* if operating system === windows
*/
public static function is_windows()
public static function isWindows()
{
return 'win' === strtolower(substr(php_uname("s"), 0, 3));
}
@ -396,9 +396,9 @@ class CLI
*
* @return void
*/
public static function clear_screen()
public static function clearScreen()
{
static::is_windows()
static::isWindows()
// Windows is a bit crap at this, but their terminal is tiny so shove this in
? static::newLine(40)
@ -422,7 +422,7 @@ class CLI
*/
public static function color(string $text, string $foreground, string $background = null, string $format = null)
{
if (static::is_windows() && ! isset($_SERVER['ANSICON']))
if (static::isWindows() && ! isset($_SERVER['ANSICON']))
{
return $text;
}
@ -467,7 +467,7 @@ class CLI
*/
public static function getWidth(int $default = 80): int
{
if (static::is_windows())
if (static::isWindows())
{
return $default;
}
@ -488,7 +488,7 @@ class CLI
*/
public static function getHeight(int $default = 32): int
{
if (static::is_windows())
if (static::isWindows())
{
return $default;
}

View File

@ -60,4 +60,4 @@ Style Guideline
***************
Please refer to source/documentation/index.rst for general guidelines for
using Sphinx to document CodeIgniter.
using Sphinx to document CodeIgniter.

View File

@ -20,4 +20,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.

View File

@ -3,4 +3,4 @@
</IfModule>
<IfModule !authz_core_module>
Deny from all
</IfModule>
</IfModule>