Skip to content

Commit

Permalink
switch from static class functions to namespaced functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejhlavacek committed Feb 18, 2016
1 parent 093bc62 commit aeae472
Show file tree
Hide file tree
Showing 37 changed files with 791 additions and 679 deletions.
24 changes: 22 additions & 2 deletions composer.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@
"authors": [
{
"name": "Ondrej Vana",
"email": "kachna@keboola.cz"
"email": "kachna@keboola.com"
},
{
"name": "Ondrej Hlavacek",
"email": "ondrej.hlavacek@keboola.com"
}
],
"require": {
"keboola/php-temp": "~0.1.0",
"keboola/php-csvtable": "~0.1.1",
"php": ">=5.5.0",
"seld/jsonlint": "^1.4"
},
Expand All @@ -22,6 +25,23 @@

},
"autoload": {
"files": [
"src/Keboola/Utils/jsonDecode.php",
"src/Keboola/Utils/sanitizeUtf8.php",
"src/Keboola/Utils/objectToArray.php",
"src/Keboola/Utils/formatDateTime.php",
"src/Keboola/Utils/replaceDates.php",
"src/Keboola/Utils/replaceDatesInArray.php",
"src/Keboola/Utils/buildUrl.php",
"src/Keboola/Utils/httpBuildUrl.php",
"src/Keboola/Utils/returnBytes.php",
"src/Keboola/Utils/camelize.php",
"src/Keboola/Utils/getDataFromPath.php",
"src/Keboola/Utils/isValidDateTimeString.php",
"src/Keboola/Utils/flattenArray.php",
"src/Keboola/Utils/arrayToObject.php",
"src/Keboola/Utils/isEmptyObject.php"
],
"psr-0": {
"Keboola\\Utils": "src/"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Keboola\Utils\Exception;
namespace Keboola\Utils;

class Exception extends \Exception
{
Expand Down
7 changes: 0 additions & 7 deletions src/Keboola/Utils/Exception/EvalStringException.php

This file was deleted.

2 changes: 2 additions & 0 deletions src/Keboola/Utils/Exception/JsonDecodeException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php
namespace Keboola\Utils\Exception;

use Keboola\Utils\Exception;

class JsonDecodeException extends Exception
{

Expand Down
2 changes: 2 additions & 0 deletions src/Keboola/Utils/Exception/NoDataFoundException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php
namespace Keboola\Utils\Exception;

use Keboola\Utils\Exception;

class NoDataFoundException extends Exception
{

Expand Down
Loading

0 comments on commit aeae472

Please sign in to comment.