beardyjay.co.uk

My main website source code, uses Hugo.
Log | Files | Refs

commit 0f065608fb1f05dd9f29350010ee3fb8dd0ccbe4
parent de51c4a4d2f9b13ca71e00e01ef6b6af0a76c3ce
Author: Jay Scott <jay@jayscott.co.uk>
Date:   Fri,  4 Mar 2016 21:36:45 +0000

.

Diffstat:
D.htaccess | 16----------------
D.phpcs.xml | 44--------------------------------------------
D.phpdoc.xml | 32--------------------------------
3 files changed, 0 insertions(+), 92 deletions(-)

diff --git a/.htaccess b/.htaccess @@ -1,16 +0,0 @@ -<IfModule mod_rewrite.c> - RewriteEngine On - #May be required to access sub-directories - #RewriteBase / - RewriteCond %{REQUEST_FILENAME} !-f - RewriteCond %{REQUEST_FILENAME} !-d - RewriteRule ^(.*)$ index.php?$1 [L,QSA] - RewriteRule ^(config|content|content-sample|lib|vendor)/.* - [R=404,L] - - <IfModule mod_env.c> - SetEnv PICO_URL_REWRITING 1 - </IfModule> -</IfModule> - -# Prevent file browsing -Options -Indexes diff --git a/.phpcs.xml b/.phpcs.xml @@ -1,44 +0,0 @@ -<?xml version="1.0"?> -<ruleset name="Pico"> - <description> - Pico's coding standards mainly base on the PHP-FIG PSR-2 standard, - but without the MissingNamespace sniff. - </description> - - <!-- - Run on current working directory by default - --> - <file>.</file> - - <!-- - Exclude _build/ and vendor/ dirs as well as minified JavaScript files - --> - <exclude-pattern type="relative">^_build/</exclude-pattern> - <exclude-pattern type="relative">^vendor/</exclude-pattern> - <exclude-pattern>*.min.js</exclude-pattern> - - <!-- - Check files for PHP syntax errors - --> - <config name="php_path" value="php"/> - <rule ref="Generic.PHP.Syntax"/> - - <!-- - Never use deprecated functions, - as they will be removed in future PHP releases - --> - <rule ref="Generic.PHP.DeprecatedFunctions"/> - - <!-- - Warn about structures which affect performance negatively - --> - <rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall"/> - - <!-- - Pico follows PHP-FIG PSR-2 Coding Style, - but doesn't use formal namespaces for historic reasons - --> - <rule ref="PSR2"> - <exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/> - </rule> -</ruleset> diff --git a/.phpdoc.xml b/.phpdoc.xml @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<phpdoc> - <title><![CDATA[Pico 1.0 API Documentation]]></title> - <parser> - <target>_build/phpdoc.cache</target> - </parser> - <transformer> - <target>_build/phpdoc</target> - </transformer> - <transformations> - <template name="clean"/> - </transformations> - <files> - <directory>.</directory> - <file>index.php</file> - <file>index.php.dist</file> - - <!-- exclude build environment --> - <ignore>_build/*</ignore> - - <!-- exclude user config --> - <ignore>config/*</ignore> - <file>config/config.php.template</file> - - <!-- exclude all plugins --> - <ignore>plugins/*</ignore> - <file>plugins/DummyPlugin.php</file> - - <!-- exclude vendor dir --> - <ignore>vendor/*</ignore> - </files> -</phpdoc>