Quellcode durchsuchen

initial commit

tags/0.1.0
po_taka vor 7 Jahren
Ursprung
Commit
8d51afe526
12 geänderte Dateien mit 40 neuen und 44 gelöschten Zeilen
  1. +1
    -4
      .gitignore
  2. +21
    -0
      LICENSE
  3. +1
    -7
      README.md
  4. +6
    -4
      composer.json
  5. +0
    -15
      tests/bootstrap.php
  6. +2
    -0
      tests/phpUnit/.gitignore
  7. +0
    -0
      tests/phpUnit/Test/Potaka/BbCode/BbCodeTest.php
  8. +0
    -0
      tests/phpUnit/Test/Potaka/BbCode/Tag/BoldTest.php
  9. +0
    -0
      tests/phpUnit/Test/Potaka/BbCode/Tag/ItalicTest.php
  10. +0
    -0
      tests/phpUnit/Test/Potaka/BbCode/Tag/UnderlineTest.php
  11. +3
    -0
      tests/phpUnit/bootstrap.php
  12. +6
    -14
      tests/phpUnit/phpunit.xml

+ 1
- 4
.gitignore Datei anzeigen

@@ -1,5 +1,2 @@
/nbproject/private/
/vendor/
/composer.lock
/nbproject/
/tmp/
/vendor

+ 21
- 0
LICENSE Datei anzeigen

@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2016 Angel Koilov <angel.koilov@gmail.com> aka po_taka

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
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.

+ 1
- 7
README.md Datei anzeigen

@@ -1,7 +1 @@
bbcode
======
v0.0.2 pre-alpha
added tags for Bold, Italic & Underline

v0.0.1 pre-alpha
not ready to use. Active development!
# Active development!

+ 6
- 4
composer.json Datei anzeigen

@@ -1,9 +1,11 @@
{
"name": "-",
"type": "-",
"description": "-",
"name": "potaka/bbcode",
"type": "library",
"description": "php parser for bb code",
"license": "MIT",
"require": {
"phpUnit/phpUnit": "*"
"php": ">=7.0",
"phpUnit/phpUnit": "5.6.*"
},
"autoload": {
"psr-0": {


+ 0
- 15
tests/bootstrap.php Datei anzeigen

@@ -1,15 +0,0 @@
<?php

require_once __DIR__ . '/../vendor/autoload.php';

spl_autoload_register(
function ($className) {
$file = str_replace('\\', '/', $className);
$file = __DIR__ . '/../src/' . $file . '.php';
if (is_file($file)) {
require_once $file;
} else {
echo $file . ' not found' . PHP_EOL;
}
}
);

+ 2
- 0
tests/phpUnit/.gitignore Datei anzeigen

@@ -0,0 +1,2 @@
/codeCoverage*


tests/Potaka/BbCode/BbCodeTest.php → tests/phpUnit/Test/Potaka/BbCode/BbCodeTest.php Datei anzeigen


tests/Potaka/BbCode/Tag/BoldTest.php → tests/phpUnit/Test/Potaka/BbCode/Tag/BoldTest.php Datei anzeigen


tests/Potaka/BbCode/Tag/ItalicTest.php → tests/phpUnit/Test/Potaka/BbCode/Tag/ItalicTest.php Datei anzeigen


tests/Potaka/BbCode/Tag/UnderlineTest.php → tests/phpUnit/Test/Potaka/BbCode/Tag/UnderlineTest.php Datei anzeigen


+ 3
- 0
tests/phpUnit/bootstrap.php Datei anzeigen

@@ -0,0 +1,3 @@
<?php

require_once __DIR__ . '/../../vendor/autoload.php';

phpunit.xml → tests/phpUnit/phpunit.xml Datei anzeigen

@@ -1,6 +1,6 @@
<phpunit backupGlobals="true"
backupStaticAttributes="false"
bootstrap="./tests/bootstrap.php"
bootstrap="bootstrap.php"
cacheTokens="false"
colors="true"
convertErrorsToExceptions="true"
@@ -8,24 +8,17 @@
convertWarningsToExceptions="true"
forceCoversAnnotation="false"
mapTestClassNameToCoveredClassName="false"
printerClass="PHPUnit_TextUI_ResultPrinter"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
strict="false"
verbose="false">
verbose="false"
>
<testsuites>
<testsuite name="My Test Suite">
<directory>./tests</directory>
<directory>./Test</directory>
</testsuite>
</testsuites>
<logging>
<log type="coverage-html" target="tmp/report" charset="UTF-8" highlight="false" lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-html" target="codeCoverage" charset="UTF-8" highlight="false" lowUpperBound="35" highLowerBound="70"/>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false"/>
<!-- <log type="testdox-html" target="tmp/testdox.html"/>-->
</logging>
@@ -35,8 +28,7 @@
<directory>vendor</directory>
</blacklist>
<whitelist>
<directory>src</directory>
<directory>../../src</directory>
</whitelist>
</filter>
</phpunit>


Laden…
Abbrechen
Speichern