PHPDoc, Namespaces and compatibility with PHP 5.6

v2-beta
Bruno O. Notario 3 years ago
parent 7c439df782
commit 2164d252bf
Signed by: oliveira131
GPG Key ID: 76CAD698D3EA8F58
  1. 8
      app/common/controller/home.php
  2. 2
      app/common/helper/Data.php
  3. 1
      app/common/model/teste.php
  4. 35
      system/caches/caches.php
  5. 69
      system/caches/phpfastcache.php
  6. 20
      system/captcha/autoload.php
  7. 22
      system/config/autoload.php
  8. 50
      system/database/library/db.php
  9. 1
      system/ecompress/active.php
  10. 4
      system/ecompress/cssMin.php
  11. 2
      system/ecompress/css_and_javascript_optimized.php
  12. 10
      system/ecompress/includes.php
  13. 2
      system/engine/VERSION
  14. 23
      system/engine/action.php
  15. 2
      system/engine/autoload.php
  16. 6
      system/engine/classes.php
  17. 77
      system/engine/controller.php
  18. 67
      system/engine/document.php
  19. 34
      system/engine/front.php
  20. 50
      system/engine/loader.php
  21. 15
      system/engine/log.php
  22. 12
      system/engine/model.php
  23. 14
      system/engine/registry.php
  24. 45
      system/engine/response.php
  25. 68
      system/image/autoload.php
  26. 47
      system/library/encryption.php
  27. 40
      system/login/autoload.php
  28. 122
      system/mail/mail.php
  29. 78
      system/pagination/autoload.php
  30. 5
      system/registrations.dist.php
  31. 34
      system/request/autoload.php
  32. 14
      system/session/autoload.php
  33. 91
      system/system.php
  34. 5
      system/token/autoload.php
  35. 36
      system/translate/autoload.php
  36. 44
      system/url/autoload.php
  37. 27
      system/url/seo_url.php

File diff suppressed because one or more lines are too long

@ -7,6 +7,8 @@
*/ */
class TestOfHelp { class TestOfHelp {
/** @return string */
function helpme(){ function helpme(){
return 'saved'; return 'saved';
} }

@ -4,5 +4,6 @@ use Phacil\Framework\Model;
class ModelCommonTeste extends Model { class ModelCommonTeste extends Model {
/** @return string */
public function oi() {return "ta"; } public function oi() {return "ta"; }
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -6,4 +6,3 @@ $_SESSION['reset'] = ($_GET['reset'] == "true") ? 'true' : 'false';
echo "Reset caches: ".($_SESSION['reset']); echo "Reset caches: ".($_SESSION['reset']);
?>

File diff suppressed because one or more lines are too long

@ -192,5 +192,3 @@ if($include == true) {
// Write everything out // Write everything out
echo $buffer; echo $buffer;
?>

File diff suppressed because one or more lines are too long

@ -1 +1 @@
1.5.3 2.0.0-alpha

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -8,6 +8,7 @@
namespace Phacil\Framework; namespace Phacil\Framework;
/** @package Phacil\Framework */
class Classes { class Classes {
private $format; private $format;
@ -18,6 +19,10 @@ class Classes {
} }
/**
* @param string|null $origin
* @return string
*/
public function classes($origin = NULL){ public function classes($origin = NULL){
$mClass = get_declared_classes(); $mClass = get_declared_classes();
@ -45,6 +50,7 @@ class Classes {
return($pegaClass); return($pegaClass);
} }
/** @return array|string */
public function functions(){ public function functions(){
$classes = $this->classes('intern'); $classes = $this->classes('intern');

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,5 +1,10 @@
<?php <?php
/**
* @param int $length
* @return string|false
* @throws Exception
*/
function token($length = 32) { function token($length = 32) {
if(!isset($length) || intval($length) <= 8 ){ if(!isset($length) || intval($length) <= 8 ){
$length = 32; $length = 32;

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save