├── tests
├── _data
│ ├── .gitkeep
│ ├── assets
│ │ ├── stream
│ │ │ └── mit-empty.txt
│ │ ├── assets
│ │ │ ├── jquery.js
│ │ │ ├── assets-version-1.js
│ │ │ ├── assets-version-2.js
│ │ │ ├── assets-version-3.js
│ │ │ ├── 1198.css
│ │ │ ├── signup.js
│ │ │ ├── cssmin-01-result.css
│ │ │ └── cssmin-01.css
│ │ ├── config
│ │ │ ├── sqlite-init.sql
│ │ │ ├── callbacks.yml
│ │ │ ├── config-with-constants.ini
│ │ │ ├── directive.ini
│ │ │ └── config.yml
│ │ ├── fonts
│ │ │ ├── Roboto-Bold.ttf
│ │ │ ├── Roboto-Thin.ttf
│ │ │ ├── Roboto-Black.ttf
│ │ │ ├── Roboto-Italic.ttf
│ │ │ ├── Roboto-Light.ttf
│ │ │ ├── Roboto-Medium.ttf
│ │ │ ├── Roboto-Regular.ttf
│ │ │ ├── Roboto-Condensed.ttf
│ │ │ ├── Roboto-BlackItalic.ttf
│ │ │ ├── Roboto-BoldItalic.ttf
│ │ │ ├── Roboto-LightItalic.ttf
│ │ │ ├── Roboto-MediumItalic.ttf
│ │ │ ├── Roboto-ThinItalic.ttf
│ │ │ ├── Roboto-BoldCondensed.ttf
│ │ │ ├── Roboto-CondensedItalic.ttf
│ │ │ └── Roboto-BoldCondensedItalic.ttf
│ │ ├── images
│ │ │ ├── example-gif.gif
│ │ │ ├── example-jpg.jpg
│ │ │ ├── example-png.png
│ │ │ ├── example-wbmp.wbmp
│ │ │ └── example-webp.webp
│ │ ├── translation
│ │ │ ├── csv
│ │ │ │ ├── ru_RU.csv
│ │ │ │ ├── en.csv
│ │ │ │ ├── es_ES.csv
│ │ │ │ └── fr_FR.csv
│ │ │ └── gettext
│ │ │ │ ├── en_US.utf8
│ │ │ │ └── LC_MESSAGES
│ │ │ │ │ ├── other.mo
│ │ │ │ │ └── messages.mo
│ │ │ │ ├── es_ES.utf8
│ │ │ │ └── LC_MESSAGES
│ │ │ │ │ └── messages.mo
│ │ │ │ └── fr_FR.utf8
│ │ │ │ └── LC_MESSAGES
│ │ │ │ └── messages.mo
│ │ └── logger
│ │ │ └── logger.serialized
│ └── fixtures
│ │ ├── views
│ │ ├── currentrender
│ │ │ ├── yup.phtml
│ │ │ ├── query.phtml
│ │ │ ├── another.phtml
│ │ │ ├── other.phtml
│ │ │ ├── subobject.volt
│ │ │ └── coolVar.phtml
│ │ ├── compiler
│ │ │ ├── index.volt
│ │ │ ├── .gitignore
│ │ │ ├── other.volt
│ │ │ ├── partial.volt
│ │ │ ├── import2.volt
│ │ │ ├── import.volt
│ │ │ ├── children.extends.volt
│ │ │ ├── children.volt
│ │ │ ├── children2.volt
│ │ │ └── parent.volt
│ │ ├── extends
│ │ │ ├── index.volt
│ │ │ ├── .gitignore
│ │ │ ├── other.volt
│ │ │ ├── partial.volt
│ │ │ ├── import2.volt
│ │ │ ├── import.volt
│ │ │ ├── children.extends.volt
│ │ │ ├── children.volt
│ │ │ ├── children2.volt
│ │ │ └── parent.volt
│ │ ├── filters
│ │ │ ├── .gitignore
│ │ │ ├── default.volt
│ │ │ └── default_json_encode.volt
│ │ ├── mustache
│ │ │ └── index.mhtml
│ │ ├── twig
│ │ │ └── index.twig
│ │ ├── twigphp
│ │ │ ├── index.twig
│ │ │ └── info.phtml
│ │ ├── partials
│ │ │ ├── header3.volt
│ │ │ ├── footer.volt
│ │ │ ├── header.volt
│ │ │ ├── header2.volt
│ │ │ └── partial.phtml
│ │ ├── phpmustache
│ │ │ ├── index.mhtml
│ │ │ └── info.phtml
│ │ ├── switch-case
│ │ │ ├── .gitignore
│ │ │ └── simple-usage.volt
│ │ ├── templates
│ │ │ ├── a.volt
│ │ │ ├── b.volt
│ │ │ └── c.volt
│ │ ├── blocks
│ │ │ ├── partials
│ │ │ │ └── header.volt
│ │ │ ├── index
│ │ │ │ ├── main.volt
│ │ │ │ └── login.volt
│ │ │ └── base.volt
│ │ ├── simple
│ │ │ ├── index.phtml
│ │ │ ├── isset.phtml
│ │ │ └── params.phtml
│ │ ├── activerender
│ │ │ └── index.phtml
│ │ ├── layouts
│ │ │ ├── currentrender.phtml
│ │ │ ├── pick.phtml
│ │ │ ├── twigphp.phtml
│ │ │ ├── currentrender-after.phtml
│ │ │ ├── twig.twig
│ │ │ ├── compiler.volt
│ │ │ └── mustache.mhtml
│ │ └── macro
│ │ │ ├── list.volt
│ │ │ ├── strtotime.volt
│ │ │ ├── hello.volt
│ │ │ ├── null-value.volt
│ │ │ ├── my_input.volt
│ │ │ ├── related_links.volt
│ │ │ ├── error_messages.volt
│ │ │ └── conditionaldate.volt
│ │ ├── modules
│ │ ├── backend
│ │ │ ├── views
│ │ │ │ └── index.phtml
│ │ │ ├── controllers
│ │ │ │ └── LoginController.php
│ │ │ └── tasks
│ │ │ │ └── MainTask.php
│ │ └── frontend
│ │ │ ├── views
│ │ │ └── index
│ │ │ │ └── index.phtml
│ │ │ └── controllers
│ │ │ └── IndexController.php
│ │ ├── Db
│ │ ├── sqlite
│ │ │ ├── example7.sql
│ │ │ ├── example1.sql
│ │ │ ├── example8.sql
│ │ │ ├── example6.sql
│ │ │ ├── example4.sql
│ │ │ ├── example5.sql
│ │ │ ├── example2.sql
│ │ │ └── example3.sql
│ │ ├── mysql
│ │ │ ├── example1.sql
│ │ │ ├── example4.sql
│ │ │ ├── example7.sql
│ │ │ ├── example8.sql
│ │ │ ├── example2.sql
│ │ │ ├── example5.sql
│ │ │ ├── example6.sql
│ │ │ └── example3.sql
│ │ └── postgresql
│ │ │ ├── example1.sql
│ │ │ ├── example4.sql
│ │ │ ├── example2.sql
│ │ │ ├── example5.sql
│ │ │ ├── example6.sql
│ │ │ ├── example3.sql
│ │ │ └── example10.sql
│ │ ├── views-alt
│ │ └── simple
│ │ │ └── params.phtml
│ │ ├── Mvc
│ │ └── Router.php
│ │ ├── Dump
│ │ ├── variable_output.txt
│ │ ├── class_properties.txt
│ │ ├── variable_name_output.txt
│ │ └── ClassProperties.php
│ │ ├── Support
│ │ └── Dump
│ │ │ ├── variable_output.txt
│ │ │ ├── variable_name_output.txt
│ │ │ ├── class_properties.txt
│ │ │ └── ClassProperties.php
│ │ ├── Di
│ │ ├── services.yml
│ │ ├── SimpleComponent.php
│ │ └── services.php
│ │ ├── _tocheck-models
│ │ ├── TinyInt.php
│ │ ├── I1534.php
│ │ ├── Stock.php
│ │ ├── Personas.php
│ │ ├── Prueba.php
│ │ ├── Personnes.php
│ │ ├── Relations
│ │ │ ├── Robots.php
│ │ │ ├── M2MParts.php
│ │ │ └── M2MRobotsParts.php
│ │ ├── Users.php
│ │ ├── People.php
│ │ ├── Subscribers.php
│ │ ├── Statistics
│ │ │ └── CityStats.php
│ │ └── BodyParts
│ │ │ └── Head.php
│ │ ├── models
│ │ ├── RbTestModel.php
│ │ ├── Album.php
│ │ ├── Photo.php
│ │ ├── Stuff.php
│ │ ├── Objects.php
│ │ └── AlbumPhoto.php
│ │ ├── Loader
│ │ └── Example
│ │ │ ├── Classes
│ │ │ ├── One.php
│ │ │ └── Two.php
│ │ │ ├── Namespaces
│ │ │ ├── Base
│ │ │ │ └── Any.php
│ │ │ ├── Adapter
│ │ │ │ ├── File.inc
│ │ │ │ ├── Mongo.php
│ │ │ │ ├── Redis.php
│ │ │ │ ├── Blackhole.php
│ │ │ │ └── Memcached.php
│ │ │ ├── Engines
│ │ │ │ ├── Diesel.php
│ │ │ │ ├── Gasoline.php
│ │ │ │ └── Alcohol.inc
│ │ │ ├── Example
│ │ │ │ └── Example.php
│ │ │ └── Plugin
│ │ │ │ └── Another.php
│ │ │ ├── Events
│ │ │ └── LoaderEvent.php
│ │ │ ├── Folders
│ │ │ ├── Dialects
│ │ │ │ └── Sqlite.php
│ │ │ └── Types
│ │ │ │ └── Integer.php
│ │ │ └── Functions
│ │ │ ├── FunctionsNoClass.php
│ │ │ ├── FunctionsNoClassOne.php
│ │ │ ├── FunctionsNoClassThree.php
│ │ │ └── FunctionsNoClassTwo.php
│ │ ├── Annotations
│ │ └── TestInvalid.php
│ │ ├── resultsets
│ │ └── Stats.php
│ │ ├── Paginator
│ │ └── Store.php
│ │ ├── DataMapper
│ │ └── Pdo
│ │ │ └── PdoFixture.php
│ │ ├── Session
│ │ └── InjectableBag.php
│ │ ├── controllers
│ │ └── ExceptionController.php
│ │ ├── Objects
│ │ ├── ChildObject.php
│ │ └── ParentObject.php
│ │ ├── Resultset.php
│ │ ├── Events
│ │ └── ComponentWithEvents.php
│ │ ├── Listener
│ │ ├── OneListener.php
│ │ ├── TwoListener.php
│ │ └── ThreeListener.php
│ │ ├── Forms
│ │ └── ContactFormPublicProperties.php
│ │ ├── Tasks
│ │ ├── EchoTask.php
│ │ └── PrintTask.php
│ │ └── Traits
│ │ └── ApcuTrait.php
├── cli
│ └── _bootstrap.php
├── integration
│ └── _bootstrap.php
├── _support
│ ├── _generated
│ │ └── .gitignore
│ └── Helper
│ │ ├── Cli.php
│ │ └── Integration.php
├── syntax
│ └── .gitignore
├── cli.suite.yml
├── unit.suite.yml
├── unit
│ └── _bootstrap.php
├── _bootstrap.php
├── _envs
│ ├── sqlite.yml
│ ├── pgsql.yml
│ └── mysql.yml
├── integration.suite.yml
└── database.suite.yml
├── ext
├── clean
├── ext_config.h
├── ext.h
├── php_ext.h
├── phalcon
│ ├── acl
│ │ ├── enum.zep.h
│ │ ├── exception.zep.h
│ │ ├── roleawareinterface.zep.h
│ │ └── componentawareinterface.zep.h
│ ├── db
│ │ ├── enum.zep.h
│ │ ├── exception.zep.h
│ │ ├── utils.h
│ │ ├── utils.c
│ │ └── adapter
│ │ │ └── pdo_constants.h
│ ├── image
│ │ ├── enum.zep.h
│ │ └── exception.zep.h
│ ├── logger
│ │ ├── enum.zep.h
│ │ └── exception.zep.h
│ ├── di
│ │ ├── exception.zep.h
│ │ ├── exception
│ │ │ └── serviceresolutionexception.zep.h
│ │ ├── factorydefault.zep.h
│ │ ├── factorydefault
│ │ │ └── cli.zep.h
│ │ └── initializationawareinterface.zep.h
│ ├── tag
│ │ └── exception.zep.h
│ ├── flash
│ │ └── exception.zep.h
│ ├── forms
│ │ ├── exception.zep.h
│ │ └── element
│ │ │ ├── date.zep.h
│ │ │ ├── file.zep.h
│ │ │ ├── text.zep.h
│ │ │ ├── check.zep.h
│ │ │ ├── email.zep.h
│ │ │ ├── hidden.zep.h
│ │ │ ├── radio.zep.h
│ │ │ ├── submit.zep.h
│ │ │ ├── numeric.zep.h
│ │ │ ├── password.zep.h
│ │ │ └── textarea.zep.h
│ ├── html
│ │ ├── exception.zep.h
│ │ ├── helper
│ │ │ ├── input
│ │ │ │ ├── tel.zep.h
│ │ │ │ ├── url.zep.h
│ │ │ │ ├── color.zep.h
│ │ │ │ ├── date.zep.h
│ │ │ │ ├── email.zep.h
│ │ │ │ ├── file.zep.h
│ │ │ │ ├── image.zep.h
│ │ │ │ ├── month.zep.h
│ │ │ │ ├── radio.zep.h
│ │ │ │ ├── range.zep.h
│ │ │ │ ├── text.zep.h
│ │ │ │ ├── time.zep.h
│ │ │ │ ├── week.zep.h
│ │ │ │ ├── hidden.zep.h
│ │ │ │ ├── numeric.zep.h
│ │ │ │ ├── search.zep.h
│ │ │ │ ├── submit.zep.h
│ │ │ │ ├── datetime.zep.h
│ │ │ │ ├── password.zep.h
│ │ │ │ └── datetimelocal.zep.h
│ │ │ └── ul.zep.h
│ │ ├── escaper
│ │ │ └── exception.zep.h
│ │ ├── attributes
│ │ │ └── renderinterface.zep.h
│ │ └── escaperfactory.zep.h
│ ├── assets
│ │ ├── exception.zep.h
│ │ ├── filterinterface.zep.h
│ │ └── filters
│ │ │ └── none.zep.h
│ ├── config
│ │ ├── exception.zep.h
│ │ └── adapter
│ │ │ └── php.zep.h
│ ├── events
│ │ └── exception.zep.h
│ ├── filter
│ │ ├── exception.zep.h
│ │ ├── validation
│ │ │ ├── exception.zep.h
│ │ │ ├── validator
│ │ │ │ └── exception.zep.h
│ │ │ └── abstractcombinedfieldsvalidator.zep.h
│ │ ├── sanitize
│ │ │ ├── url.zep.h
│ │ │ ├── alnum.zep.h
│ │ │ ├── alpha.zep.h
│ │ │ ├── email.zep.h
│ │ │ ├── absint.zep.h
│ │ │ ├── intval.zep.h
│ │ │ ├── trim.zep.h
│ │ │ ├── boolval.zep.h
│ │ │ ├── special.zep.h
│ │ │ ├── lower.zep.h
│ │ │ ├── upper.zep.h
│ │ │ └── floatval.zep.h
│ │ └── filterinterface.zep.h
│ ├── autoload
│ │ └── exception.zep.h
│ ├── cache
│ │ ├── adapter
│ │ │ ├── apcu.zep.h
│ │ │ ├── weak.zep.h
│ │ │ ├── memory.zep.h
│ │ │ ├── redis.zep.h
│ │ │ ├── stream.zep.h
│ │ │ ├── libmemcached.zep.h
│ │ │ └── adapterinterface.zep.h
│ │ └── exception
│ │ │ ├── exception.zep.h
│ │ │ └── invalidargumentexception.zep.h
│ ├── cli
│ │ ├── taskinterface.zep.h
│ │ ├── router
│ │ │ └── exception.zep.h
│ │ ├── console
│ │ │ └── exception.zep.h
│ │ └── dispatcher
│ │ │ └── exception.zep.h
│ ├── factory
│ │ └── exception.zep.h
│ ├── messages
│ │ └── exception.zep.h
│ ├── mvc
│ │ ├── url
│ │ │ └── exception.zep.h
│ │ ├── view
│ │ │ └── exception.zep.h
│ │ ├── micro
│ │ │ ├── exception.zep.h
│ │ │ └── middlewareinterface.zep.h
│ │ ├── model
│ │ │ ├── exception.zep.h
│ │ │ ├── transaction
│ │ │ │ └── exception.zep.h
│ │ │ ├── orm.h
│ │ │ ├── resultinterface.zep.h
│ │ │ └── binder
│ │ │ │ └── bindableinterface.zep.h
│ │ ├── router
│ │ │ └── exception.zep.h
│ │ ├── controllerinterface.zep.h
│ │ ├── application
│ │ │ └── exception.zep.h
│ │ ├── dispatcher
│ │ │ └── exception.zep.h
│ │ ├── model_contants.h
│ │ └── controller.zep.h
│ ├── session
│ │ └── exception.zep.h
│ ├── storage
│ │ ├── exception.zep.h
│ │ └── serializer
│ │ │ ├── redisjson.zep.h
│ │ │ ├── redisnone.zep.h
│ │ │ ├── redisphp.zep.h
│ │ │ ├── memcachedphp.zep.h
│ │ │ ├── redismsgpack.zep.h
│ │ │ ├── memcachedjson.zep.h
│ │ │ ├── redisigbinary.zep.h
│ │ │ └── memcachedigbinary.zep.h
│ ├── support
│ │ ├── exception.zep.h
│ │ ├── debug
│ │ │ └── exception.zep.h
│ │ ├── helper
│ │ │ └── exception.zep.h
│ │ └── collection
│ │ │ └── exception.zep.h
│ ├── dispatcher
│ │ └── exception.zep.h
│ ├── paginator
│ │ └── exception.zep.h
│ ├── translate
│ │ └── exception.zep.h
│ ├── annotations
│ │ └── exception.zep.h
│ ├── application
│ │ └── exception.zep.h
│ ├── http
│ │ ├── cookie
│ │ │ └── exception.zep.h
│ │ ├── request
│ │ │ └── exception.zep.h
│ │ ├── response
│ │ │ └── exception.zep.h
│ │ └── message
│ │ │ ├── requestmethodinterface.zep.h
│ │ │ └── responsestatuscodeinterface.zep.h
│ ├── encryption
│ │ ├── security
│ │ │ ├── exception.zep.h
│ │ │ └── jwt
│ │ │ │ ├── token
│ │ │ │ └── enum.zep.h
│ │ │ │ └── exceptions
│ │ │ │ ├── validatorexception.zep.h
│ │ │ │ └── unsupportedalgorithmexception.zep.h
│ │ └── crypt
│ │ │ └── exception
│ │ │ ├── mismatch.zep.h
│ │ │ └── exception.zep.h
│ ├── domain
│ │ └── payload
│ │ │ ├── payloadinterface.zep.h
│ │ │ └── status.zep.h
│ ├── datamapper
│ │ └── pdo
│ │ │ └── exception
│ │ │ ├── exception.zep.h
│ │ │ ├── cannotdisconnect.zep.h
│ │ │ └── connectionnotfound.zep.h
│ ├── 7__closure.zep.h
│ ├── 0__closure.zep.h
│ ├── 8__closure.zep.h
│ ├── 9__closure.zep.h
│ ├── 10__closure.zep.h
│ ├── 13__closure.zep.h
│ ├── 14__closure.zep.h
│ ├── 1__closure.zep.h
│ ├── 3__closure.zep.h
│ ├── 5__closure.zep.h
│ └── 11__closure.zep.h
└── kernel
│ └── fcall_internal.h
├── docker
└── develop
│ └── extra.ini
├── .gitattributes
├── phalcon
├── Factory
│ └── Exception.zep
├── Cli
│ ├── TaskInterface.zep
│ ├── Router
│ │ └── Exception.zep
│ ├── Console
│ │ └── Exception.zep
│ └── Dispatcher
│ │ └── Exception.zep
├── Html
│ ├── Helper
│ │ ├── Input
│ │ │ ├── Text.zep
│ │ │ ├── Tel.zep
│ │ │ ├── Url.zep
│ │ │ ├── Color.zep
│ │ │ ├── Date.zep
│ │ │ ├── Email.zep
│ │ │ ├── File.zep
│ │ │ ├── Image.zep
│ │ │ ├── Month.zep
│ │ │ ├── Range.zep
│ │ │ ├── Time.zep
│ │ │ ├── Week.zep
│ │ │ ├── Hidden.zep
│ │ │ ├── Search.zep
│ │ │ ├── Submit.zep
│ │ │ ├── Numeric.zep
│ │ │ ├── DateTime.zep
│ │ │ ├── Password.zep
│ │ │ ├── DateTimeLocal.zep
│ │ │ └── Radio.zep
│ │ └── Ul.zep
│ ├── Escaper
│ │ └── Exception.zep
│ ├── Exception.zep
│ └── EscaperFactory.zep
├── Support
│ ├── Exception.zep
│ ├── Helper
│ │ └── Exception.zep
│ ├── Debug
│ │ └── Exception.zep
│ └── Collection
│ │ └── Exception.zep
├── Acl
│ ├── Exception.zep
│ ├── Enum.zep
│ ├── RoleAwareInterface.zep
│ └── ComponentAwareInterface.zep
├── Db
│ └── Exception.zep
├── Di
│ ├── Exception.zep
│ ├── Exception
│ │ └── ServiceResolutionException.zep
│ └── InitializationAwareInterface.zep
├── Image
│ └── Exception.zep
├── Events
│ └── Exception.zep
├── Forms
│ ├── Exception.zep
│ └── Element
│ │ ├── Text.zep
│ │ ├── Date.zep
│ │ ├── File.zep
│ │ ├── Email.zep
│ │ ├── Radio.zep
│ │ ├── TextArea.zep
│ │ ├── Hidden.zep
│ │ ├── Submit.zep
│ │ ├── Numeric.zep
│ │ └── Password.zep
├── Annotations
│ └── Exception.zep
├── Assets
│ └── Exception.zep
├── Autoload
│ └── Exception.zep
├── Config
│ └── Exception.zep
├── Flash
│ └── Exception.zep
├── Storage
│ ├── Serializer
│ │ ├── RedisPhp.zep
│ │ ├── RedisJson.zep
│ │ ├── RedisNone.zep
│ │ ├── MemcachedJson.zep
│ │ ├── MemcachedPhp.zep
│ │ ├── RedisIgbinary.zep
│ │ ├── RedisMsgpack.zep
│ │ └── MemcachedIgbinary.zep
│ └── Exception.zep
├── Mvc
│ ├── Micro
│ │ └── Exception.zep
│ ├── ControllerInterface.zep
│ ├── View
│ │ └── Exception.zep
│ ├── Url
│ │ └── Exception.zep
│ ├── Router
│ │ └── Exception.zep
│ ├── Model
│ │ ├── Exception.zep
│ │ └── Transaction
│ │ │ └── Exception.zep
│ ├── Dispatcher
│ │ └── Exception.zep
│ └── Application
│ │ └── Exception.zep
├── Cache
│ ├── Exception
│ │ ├── Exception.zep
│ │ └── InvalidArgumentException.zep
│ └── Adapter
│ │ └── AdapterInterface.zep
├── Messages
│ └── Exception.zep
├── Application
│ └── Exception.zep
├── Encryption
│ ├── Crypt
│ │ └── Exception
│ │ │ ├── Mismatch.zep
│ │ │ └── Exception.zep
│ └── Security
│ │ ├── Exception.zep
│ │ └── JWT
│ │ └── Exceptions
│ │ ├── ValidatorException.zep
│ │ └── UnsupportedAlgorithmException.zep
├── Tag
│ └── Exception.zep
├── Logger
│ └── Exception.zep
├── Session
│ └── Exception.zep
├── Filter
│ ├── Exception.zep
│ └── Validation
│ │ ├── Exception.zep
│ │ ├── AbstractCombinedFieldsValidator.zep
│ │ └── Validator
│ │ └── Exception.zep
├── Translate
│ └── Exception.zep
├── Paginator
│ └── Exception.zep
└── Http
│ ├── Cookie
│ └── Exception.zep
│ ├── Request
│ └── Exception.zep
│ └── Response
│ └── Exception.zep
├── phpcs.xml
└── CHANGELOG.md
/tests/_data/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/cli/_bootstrap.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/extends/.gitignore:
--------------------------------------------------------------------------------
1 | *.volt.php
2 | *%.php
3 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/extends/other.volt:
--------------------------------------------------------------------------------
1 | Two songs: {{song}} {{song}}
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/extends/partial.volt:
--------------------------------------------------------------------------------
1 | Some label: {{ some_var }}
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/partials/footer.volt:
--------------------------------------------------------------------------------
1 |
This is the footer
--------------------------------------------------------------------------------
/tests/_data/fixtures/modules/backend/views/index.phtml:
--------------------------------------------------------------------------------
1 | here
2 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/compiler/other.volt:
--------------------------------------------------------------------------------
1 | Two songs: {{song}} {{song}}
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/compiler/partial.volt:
--------------------------------------------------------------------------------
1 | Some label: {{ some_var }}
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/partials/header.volt:
--------------------------------------------------------------------------------
1 | This is the header
--------------------------------------------------------------------------------
/tests/_data/fixtures/modules/frontend/views/index/index.phtml:
--------------------------------------------------------------------------------
1 | here
2 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/filters/default.volt:
--------------------------------------------------------------------------------
1 | {{ robot.price|default(10.0) }}
2 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/templates/a.volt:
--------------------------------------------------------------------------------
1 | [A[{% block body %}{% endblock %}]]
2 |
--------------------------------------------------------------------------------
/tests/syntax/.gitignore:
--------------------------------------------------------------------------------
1 | *.sh
2 | *.out
3 | *.exp
4 | *.diff
5 | *.php
6 | *.log
7 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/blocks/partials/header.volt:
--------------------------------------------------------------------------------
1 | This is the header
2 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/currentrender/another.phtml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/currentrender/other.phtml:
--------------------------------------------------------------------------------
1 | {% include "partials/header3.volt" %}
--------------------------------------------------------------------------------
/tests/_data/assets/assets/assets-version-1.js:
--------------------------------------------------------------------------------
1 | function popup() {
2 | alert("Hello World");
3 | }
--------------------------------------------------------------------------------
/tests/_data/assets/assets/assets-version-2.js:
--------------------------------------------------------------------------------
1 | function popup() {
2 | alert("Hello World");
3 | }
--------------------------------------------------------------------------------
/tests/_data/assets/assets/assets-version-3.js:
--------------------------------------------------------------------------------
1 | function popup() {
2 | alert("Hello World");
3 | }
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/sqlite/example7.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE "table" (
2 | `column18` TINYINT
3 | )
4 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/filters/default_json_encode.volt:
--------------------------------------------------------------------------------
1 | {{ preparedParams|default([])|json_encode }}
2 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/partials/partial.phtml:
--------------------------------------------------------------------------------
1 | Hey, this is a partial, also
2 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/phpmustache/info.phtml:
--------------------------------------------------------------------------------
1 | partial('partials/header');
4 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/twigphp/info.phtml:
--------------------------------------------------------------------------------
1 | partial('partials/header');
4 |
--------------------------------------------------------------------------------
/ext/clean:
--------------------------------------------------------------------------------
1 | find . -name \*.lo -o -name \*.o -o -name \*.gch | xargs rm -f
2 | make clean
3 | phpize --clean
4 |
--------------------------------------------------------------------------------
/ext/ext_config.h:
--------------------------------------------------------------------------------
1 | /* This file was generated automatically by Zephir do not modify it! */
2 | #include "config.h"
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/compiler/import2.volt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/extends/import2.volt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/layouts/currentrender.phtml:
--------------------------------------------------------------------------------
1 | getContent(); ?>
2 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/layouts/pick.phtml:
--------------------------------------------------------------------------------
1 | Well, this is the view content: getContent(); ?>.
--------------------------------------------------------------------------------
/ext/ext.h:
--------------------------------------------------------------------------------
1 |
2 | /* This file was generated automatically by Zephir do not modify it! */
3 |
4 | #include "phalcon.h"
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/currentrender/coolVar.phtml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/layouts/twigphp.phtml:
--------------------------------------------------------------------------------
1 | Well, this is the view content: getContent(); ?>.
--------------------------------------------------------------------------------
/ext/php_ext.h:
--------------------------------------------------------------------------------
1 |
2 | /* This file was generated automatically by Zephir do not modify it! */
3 |
4 | #include "php_phalcon.h"
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/layouts/currentrender-after.phtml:
--------------------------------------------------------------------------------
1 | getContent(); ?>
2 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/layouts/twig.twig:
--------------------------------------------------------------------------------
1 | {% if some_eval %}
2 | Clearly, the song is: {{ content }}.
3 | {% endif %}
--------------------------------------------------------------------------------
/tests/_data/assets/assets/1198.css:
--------------------------------------------------------------------------------
1 | a {
2 | text-decoration: none;
3 | }
4 |
5 | b {
6 | font-weight: bold;
7 | }
8 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/sqlite/example1.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE "table" (
2 | `column1` VARCHAR(10),
3 | `column2` INTEGER
4 | )
5 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/layouts/compiler.volt:
--------------------------------------------------------------------------------
1 | {% if some_eval %}
2 | Clearly, the song is: {{ content() }}.
3 | {% endif %}
--------------------------------------------------------------------------------
/ext/phalcon/acl/enum.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_acl_enum_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Acl_Enum);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/db/enum.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_db_enum_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Db_Enum);
5 |
6 |
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-Bold.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-Bold.ttf
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-Thin.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-Thin.ttf
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/sqlite/example8.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE "table" (
2 | `column19` DOUBLE,
3 | `column20` DOUBLE UNSIGNED
4 | )
5 |
--------------------------------------------------------------------------------
/ext/phalcon/image/enum.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_image_enum_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Image_Enum);
5 |
6 |
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-Black.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-Black.ttf
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-Italic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-Italic.ttf
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-Light.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-Light.ttf
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-Medium.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-Medium.ttf
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-Regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-Regular.ttf
--------------------------------------------------------------------------------
/tests/_data/assets/images/example-gif.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/images/example-gif.gif
--------------------------------------------------------------------------------
/tests/_data/assets/images/example-jpg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/images/example-jpg.jpg
--------------------------------------------------------------------------------
/tests/_data/assets/images/example-png.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/images/example-png.png
--------------------------------------------------------------------------------
/tests/_data/assets/images/example-wbmp.wbmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/images/example-wbmp.wbmp
--------------------------------------------------------------------------------
/tests/_data/assets/images/example-webp.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/images/example-webp.webp
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/mysql/example1.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE `table` (
2 | `column1` VARCHAR(10),
3 | `column2` INT(18) UNSIGNED
4 | )
5 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/postgresql/example1.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE "table" (
2 | "column1" CHARACTER VARYING(10),
3 | "column2" INT
4 | );
5 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/layouts/mustache.mhtml:
--------------------------------------------------------------------------------
1 | {{#some_eval}}
2 | Well, this is the view content: {{content}}.
3 | {{/some_eval}}
4 |
--------------------------------------------------------------------------------
/ext/phalcon/logger/enum.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_logger_enum_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Logger_Enum);
5 |
6 |
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-Condensed.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-Condensed.ttf
--------------------------------------------------------------------------------
/tests/_data/assets/translation/csv/ru_RU.csv:
--------------------------------------------------------------------------------
1 | "Hello!";"Привет!"
2 | "Hello %fname% %mname% %lname%!";"Привет, %fname% %mname% %lname%!"
3 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/sqlite/example6.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE "table" (
2 | `column14` TINYBLOB NOT NULL,
3 | `column16` BLOB NOT NULL
4 | )
5 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/templates/b.volt:
--------------------------------------------------------------------------------
1 | {% extends 'tests/_data/fixtures/views/templates/a.volt' %}{% block body %}[B]{% endblock %}
2 |
--------------------------------------------------------------------------------
/ext/phalcon/acl/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_acl_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Acl_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/db/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_db_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Db_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/di/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_di_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Di_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/tag/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_tag_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Tag_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/tests/_data/assets/assets/signup.js:
--------------------------------------------------------------------------------
1 | $(document).ready(function () {
2 | $("#registration").validate({
3 | //
4 | });
5 | });
6 |
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-BlackItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-BlackItalic.ttf
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-BoldItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-BoldItalic.ttf
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-LightItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-LightItalic.ttf
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-MediumItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-MediumItalic.ttf
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-ThinItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-ThinItalic.ttf
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/macro/list.volt:
--------------------------------------------------------------------------------
1 | {%- macro list(var) -%}
2 | {{- dump(var) -}}
3 | {%- endmacro -%}
4 |
5 | {{- list(object) -}}
6 |
--------------------------------------------------------------------------------
/tests/cli.suite.yml:
--------------------------------------------------------------------------------
1 | actor: CliTester
2 | modules:
3 | enabled:
4 | - Asserts
5 | - Cli
6 | - \Helper\Cli
7 | - \Helper\Unit
8 |
--------------------------------------------------------------------------------
/ext/phalcon/flash/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_flash_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Flash_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/forms/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_forms_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Forms_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/html/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_html_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Html_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/image/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_image_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Image_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-BoldCondensed.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-BoldCondensed.ttf
--------------------------------------------------------------------------------
/ext/phalcon/assets/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_assets_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Assets_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/config/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_config_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Config_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/events/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_events_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Events_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/logger/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_logger_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Logger_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-CondensedItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-CondensedItalic.ttf
--------------------------------------------------------------------------------
/tests/_data/assets/translation/csv/en.csv:
--------------------------------------------------------------------------------
1 | "hi";"Hello"
2 | "bye";"Good Bye"
3 | "hello-key";"Hello %name%"
4 | "song-key";"This song is %song% (%artist%)"
5 |
--------------------------------------------------------------------------------
/tests/_data/assets/translation/csv/es_ES.csv:
--------------------------------------------------------------------------------
1 | "hi";"Hola"
2 | "bye";"Adiós"
3 | "hello-key";"Hola %name%"
4 | "song-key";"La canción es %song% (%artist%)"
5 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/macro/strtotime.volt:
--------------------------------------------------------------------------------
1 | {{- date.getTimeStamp() -}} % {{- strtotime('now') -}} % {{- strtotime(date.format('Y-m-d H:i:s')) -}}
2 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/templates/c.volt:
--------------------------------------------------------------------------------
1 | {% extends 'tests/_data/fixtures/views/templates/b.volt' %}{% block body %}###{{ super() }}###{% endblock %}
2 |
--------------------------------------------------------------------------------
/ext/phalcon/autoload/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_autoload_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Autoload_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/cache/adapter/apcu.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_cache_adapter_apcu_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Cache_Adapter_Apcu);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/cache/adapter/weak.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_cache_adapter_weak_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Cache_Adapter_Weak);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/cli/taskinterface.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_cli_taskinterface_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Cli_TaskInterface);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/factory/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_factory_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Factory_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/forms/element/date.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_forms_element_date_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Forms_Element_Date);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/forms/element/file.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_forms_element_file_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Forms_Element_File);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/forms/element/text.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_forms_element_text_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Forms_Element_Text);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/messages/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_messages_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Messages_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/mvc/url/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_mvc_url_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Mvc_Url_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/mvc/view/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_mvc_view_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Mvc_View_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/session/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_session_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Session_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/storage/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_storage_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Storage_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/support/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_support_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Support_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/tests/_data/assets/fonts/Roboto-BoldCondensedItalic.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phalcon/cphalcon/HEAD/tests/_data/assets/fonts/Roboto-BoldCondensedItalic.ttf
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/sqlite/example4.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE "table" (
2 | `column9` VARCHAR(10) DEFAULT "column9",
3 | `column10` INTEGER DEFAULT "10"
4 | )
5 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/sqlite/example5.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE "table" (
2 | `column11` BIGINT,
3 | `column13` TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
4 | )
5 |
--------------------------------------------------------------------------------
/ext/phalcon/cache/adapter/memory.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_cache_adapter_memory_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Cache_Adapter_Memory);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/cache/adapter/redis.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_cache_adapter_redis_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Cache_Adapter_Redis);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/cache/adapter/stream.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_cache_adapter_stream_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Cache_Adapter_Stream);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/cli/router/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_cli_router_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Cli_Router_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/dispatcher/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_dispatcher_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Dispatcher_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/forms/element/check.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_forms_element_check_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Forms_Element_Check);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/forms/element/email.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_forms_element_email_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Forms_Element_Email);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/forms/element/hidden.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_forms_element_hidden_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Forms_Element_Hidden);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/forms/element/radio.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_forms_element_radio_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Forms_Element_Radio);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/forms/element/submit.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_forms_element_submit_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Forms_Element_Submit);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/mvc/micro/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_mvc_micro_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Mvc_Micro_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/mvc/model/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_mvc_model_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Mvc_Model_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/mvc/router/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_mvc_router_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Mvc_Router_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/paginator/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_paginator_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Paginator_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/translate/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_translate_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Translate_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/tests/_data/assets/translation/csv/fr_FR.csv:
--------------------------------------------------------------------------------
1 | 'hi'|'Bonjour'
2 | 'bye'|'Au revoir'
3 | 'hello-key'|'Bonjour %name%'
4 | 'song-key'|'La chanson est %song% (%artist%)'
5 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/mysql/example4.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE `table` (
2 | `column9` VARCHAR(10) DEFAULT "column9",
3 | `column10` INT(18) UNSIGNED DEFAULT "10"
4 | )
5 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/postgresql/example4.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE "table" (
2 | "column9" CHARACTER VARYING(10) DEFAULT 'column9',
3 | "column10" INT DEFAULT 10
4 | );
5 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/blocks/index/main.volt:
--------------------------------------------------------------------------------
1 | {% extends 'base.volt' %}
2 |
3 | {% block mainContent %}
4 | This is the main page
5 | {% endblock %}
6 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/macro/hello.volt:
--------------------------------------------------------------------------------
1 | {%- macro hello(name) -%}
2 | {%- return "Hello " ~ name -%}
3 | {%- endmacro -%}
4 |
5 | {{- hello('World') -}}
6 |
--------------------------------------------------------------------------------
/ext/phalcon/annotations/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_annotations_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Annotations_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/application/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_application_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Application_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/cli/console/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_cli_console_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Cli_Console_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/forms/element/numeric.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_forms_element_numeric_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Forms_Element_Numeric);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/html/helper/input/tel.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_html_helper_input_tel_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Html_Helper_Input_Tel);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/html/helper/input/url.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_html_helper_input_url_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Html_Helper_Input_Url);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/http/cookie/exception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_http_cookie_exception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Http_Cookie_Exception);
5 |
6 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/compiler/import.volt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/extends/import.volt:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/simple/params.phtml:
--------------------------------------------------------------------------------
1 | ' ~ my_input('name') ~ '' -}}
6 |
--------------------------------------------------------------------------------
/ext/phalcon/datamapper/pdo/exception/cannotdisconnect.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_datamapper_pdo_exception_cannotdisconnect_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_DataMapper_Pdo_Exception_CannotDisconnect);
5 |
6 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/mysql/example5.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE `table` (
2 | `column11` BIGINT(20) UNSIGNED,
3 | `column12` ENUM("A", "B", "C") DEFAULT "A" NOT NULL,
4 | `column13` TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL
5 | )
6 |
--------------------------------------------------------------------------------
/docker/develop/extra.ini:
--------------------------------------------------------------------------------
1 | error_reporting=E_ALL
2 | display_errors="On"
3 | display_startup_errors="On"
4 | log_errors="On"
5 | error_log=/tmp/php_errors.log
6 | memory_limit=512M
7 | apc.enable_cli="On"
8 | session.save_path="/tmp"
9 |
--------------------------------------------------------------------------------
/ext/phalcon/datamapper/pdo/exception/connectionnotfound.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_datamapper_pdo_exception_connectionnotfound_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_DataMapper_Pdo_Exception_ConnectionNotFound);
5 |
6 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/mysql/example6.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE `table` (
2 | `id_user` BIGINT(20) UNSIGNED,
3 | CONSTRAINT `fk_id_user` FOREIGN KEY (`id_user`) REFERENCES `database2`.`users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
4 | )
5 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/blocks/index/login.volt:
--------------------------------------------------------------------------------
1 | {% extends 'base.volt' %}
2 |
3 | {% block header %}{% endblock %}
4 | {% block mainContent %}
5 | This is the login page
6 | {% endblock %}
7 | {% block footer %}{% endblock %}
8 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/validation/abstractcombinedfieldsvalidator.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_validation_abstractcombinedfieldsvalidator_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_Validation_AbstractCombinedFieldsValidator);
5 |
6 |
--------------------------------------------------------------------------------
/ext/phalcon/encryption/security/jwt/exceptions/validatorexception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_encryption_security_jwt_exceptions_validatorexception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Encryption_Security_JWT_Exceptions_ValidatorException);
5 |
6 |
--------------------------------------------------------------------------------
/tests/unit.suite.yml:
--------------------------------------------------------------------------------
1 | # Codeception Test Suite Configuration
2 | #
3 | # Suite for unit or integration tests.
4 |
5 | actor: UnitTester
6 | modules:
7 | config:
8 | enabled:
9 | - Apc
10 | - Asserts
11 | - Filesystem
12 | - Helper\Unit
13 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Mvc/Router.php:
--------------------------------------------------------------------------------
1 | String (5) "value"
2 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/switch-case/simple-usage.volt:
--------------------------------------------------------------------------------
1 | {% switch username %}
2 | {% case "Jim" %}
3 | Hello username
4 | {% case "Nik" %}
5 | {{ username }}!
6 | {% break %}
7 | {% default %}
8 | Who are you?
9 | {% endswitch %}
10 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Dump/class_properties.txt:
--------------------------------------------------------------------------------
1 | Object Phalcon\Tests\Fixtures\Dump\ClassProperties (
2 | ->foo (public) = Integer (1)
3 | ->bar (protected) = Integer (2)
4 | ->baz (private) = Integer (3)
5 | Phalcon\Tests\Fixtures\Dump\ClassProperties methods: (0) (
6 | )
7 | )
8 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Support/Dump/variable_output.txt:
--------------------------------------------------------------------------------
1 | String (5) "value"
2 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/sqlite/example3.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE "table" (
2 | `column2` INTEGER,
3 | `column3` NUMERIC(10,2) NOT NULL,
4 | `column1` VARCHAR(10),
5 | PRIMARY KEY ("column3"),
6 | CONSTRAINT `fk3` FOREIGN KEY ("column1") REFERENCES `ref_table`("column2") ON DELETE CASCADE
7 | )
8 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Dump/variable_name_output.txt:
--------------------------------------------------------------------------------
1 | super String (5) "value"
2 |
--------------------------------------------------------------------------------
/ext/phalcon/encryption/security/jwt/exceptions/unsupportedalgorithmexception.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_encryption_security_jwt_exceptions_unsupportedalgorithmexception_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Encryption_Security_JWT_Exceptions_UnsupportedAlgorithmException);
5 |
6 |
--------------------------------------------------------------------------------
/tests/_data/assets/assets/cssmin-01.css:
--------------------------------------------------------------------------------
1 | .h2:after,
2 | .h2:after {
3 | content: ''; display :
4 | block; height: 1px; width: 100%; border-color: #c0c0c0; border-style:
5 | solid
6 | none;
7 | border-width: 1px;
8 | position: absolute;
9 | bottom: 0; left: 0;
10 | }
--------------------------------------------------------------------------------
/tests/_data/fixtures/Support/Dump/variable_name_output.txt:
--------------------------------------------------------------------------------
1 | super String (5) "value"
2 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/mysql/example3.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE `table` (
2 | `column2` INT(18) UNSIGNED,
3 | `column3` DECIMAL(10,2) NOT NULL,
4 | `column1` VARCHAR(10),
5 | PRIMARY KEY (`column3`),
6 | CONSTRAINT `fk3` FOREIGN KEY (`column1`) REFERENCES `ref_table` (`column2`) ON DELETE CASCADE
7 | )
8 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/postgresql/example6.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE "table" (
2 | "column14" SERIAL NOT NULL,
3 | "column15" INT DEFAULT 5 NOT NULL,
4 | "column16" CHARACTER VARYING(10) DEFAULT 'column16',
5 | "column17" BOOLEAN DEFAULT false NOT NULL,
6 | "column18" BOOLEAN DEFAULT true NOT NULL
7 | );
8 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Di/services.yml:
--------------------------------------------------------------------------------
1 | unit-test:
2 | className: \UnitTester
3 |
4 | config:
5 | className: \Phalcon\Config\Config
6 | shared: true
7 |
8 | component:
9 | className: Phalcon\Tests\Fixtures\Di\ServiceComponent
10 | arguments:
11 | - type: service
12 | name: config
13 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/modules/backend/controllers/LoginController.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Support/Dump/class_properties.txt:
--------------------------------------------------------------------------------
1 | Object Phalcon\Tests\Fixtures\Support\Dump\ClassProperties (
2 | ->foo (public) = Integer (1)
3 | ->bar (protected) = Integer (2)
4 | ->baz (private) = Integer (3)
5 | Phalcon\Tests\Fixtures\Support\Dump\ClassProperties methods: (0) (
6 | )
7 | )
8 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/postgresql/example3.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE "table" (
2 | "column2" INT,
3 | "column3" NUMERIC(10,2) NOT NULL,
4 | "column1" CHARACTER VARYING(10),
5 | CONSTRAINT "PRIMARY" PRIMARY KEY ("column3"),
6 | CONSTRAINT "fk3" FOREIGN KEY ("column1") REFERENCES "ref_table" ("column2") ON DELETE CASCADE
7 | );
8 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.zep.h linguist-language=C
2 | *.zep.c linguist-language=C
3 | *.sql linguist-language=SQL
4 | *.w32 linguist-language=JavaScript
5 |
6 | ext/* linguist-vendored
7 | build/php5/* linguist-vendored
8 | build/php7/* linguist-vendored
9 |
10 | *.png binary
11 |
12 | tests/_data/assets/assets/* -text
13 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/_tocheck-models/TinyInt.php:
--------------------------------------------------------------------------------
1 | setSource("tiny_int_test");
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/tests/_data/assets/config/config-with-constants.ini:
--------------------------------------------------------------------------------
1 | ; this is an INI file
2 | test = TEST_CONST
3 | path = TEST_CONST"/something/else"
4 | [section]
5 | test = TEST_CONST
6 | path = TEST_CONST"/another-thing/somewhere"
7 | parent.property = TEST_CONST
8 | parent.property2 = TEST_CONST"hello"
9 | testArray[] = value1
10 | testArray[] = value2
11 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/compiler/children.extends.volt:
--------------------------------------------------------------------------------
1 | {% extends "compiler/parent.volt" %}
2 |
3 | {% block title %}Index{% endblock %}
4 |
5 | {% block head %}{% endblock %}
6 |
7 | {% block content %}Index
Welcome on my awesome homepage.
{% endblock %}
8 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/extends/children.extends.volt:
--------------------------------------------------------------------------------
1 | {% extends "extends/parent.volt" %}
2 |
3 | {% block title %}Index{% endblock %}
4 |
5 | {% block head %}{% endblock %}
6 |
7 | {% block content %}Index
Welcome on my awesome homepage.
{% endblock %}
8 |
--------------------------------------------------------------------------------
/tests/_bootstrap.php:
--------------------------------------------------------------------------------
1 |
3 | {%- for link in related_links -%}
4 | {{ link.text }}
5 | {%- endfor -%}
6 |
7 | {%- endmacro -%}
8 |
9 | {{- related_bar(links) -}}
10 |
--------------------------------------------------------------------------------
/ext/phalcon/db/utils.h:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | int phalcon_db_checktype(zval *return_value, zval *placeholder);
12 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/compiler/children.volt:
--------------------------------------------------------------------------------
1 | {% extends "tests/_data/fixtures/views/compiler/parent.volt" %}
2 |
3 | {% block title %}Index{% endblock %}
4 |
5 | {% block head %}{% endblock %}
6 |
7 | {% block content %}Index
Welcome on my awesome homepage.
{% endblock %}
8 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/extends/children.volt:
--------------------------------------------------------------------------------
1 | {% extends "tests/_data/fixtures/views/extends/parent.volt" %}
2 |
3 | {% block title %}Index{% endblock %}
4 |
5 | {% block head %}{% endblock %}
6 |
7 | {% block content %}Index
Welcome on my awesome homepage.
{% endblock %}
8 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/modules/backend/tasks/MainTask.php:
--------------------------------------------------------------------------------
1 | {{ type }}{{ field }}{{ message }}
3 | {%- endmacro -%}
4 |
5 | {{- error_messages('type': 'Invalid', 'message': 'The name is invalid', 'field': 'name') -}}
6 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/macro/conditionaldate.volt:
--------------------------------------------------------------------------------
1 | {%- macro conditionaldate(condition, tdate, ttime, tz) -%}
2 | {%- if condition -%} from
{{ tdate }}, {{ ttime }} {{ tz }}{%- endif -%}
3 | {%- endmacro -%}
4 |
5 | {%- set tdate = date('Y-m-d') -%}
6 | {%- set ttime = date('H:i') -%}
7 | {%- set tz = 'UTC' -%}
8 |
9 | {{- conditionaldate(true, tdate, ttime, tz) -}}
10 |
--------------------------------------------------------------------------------
/tests/_envs/sqlite.yml:
--------------------------------------------------------------------------------
1 | # `sqlite` environment config goes here
2 | modules:
3 | enabled:
4 | - Db:
5 | dsn: 'sqlite:%DATA_SQLITE_NAME%'
6 | user: ''
7 | password: ''
8 | populate: true
9 | cleanup: false
10 | dump:
11 | - 'tests/_data/assets/config/sqlite-init.sql'
12 | - 'tests/_data/assets/schemas/sqlite.sql'
13 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/models/RbTestModel.php:
--------------------------------------------------------------------------------
1 | setSource('co_rb_test_model');
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Factory/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Factory;
12 |
13 | class Exception extends \Exception
14 | {
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Classes/One.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | class One
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Classes/Two.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | class Two
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/blocks/base.volt:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | {% block header %}
9 | {{ partial('blocks/partials/header') }}
10 | {% endblock %}
11 |
12 | {% block mainContent %}{% endblock %}
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/ext/phalcon/mvc/model/orm.h:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | void phalcon_orm_destroy_cache();
12 | void phalcon_orm_singlequotes(zval *return_value, zval *str);
13 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Namespaces/Base/Any.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | class Any
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Events/LoaderEvent.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | class LoaderEvent
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Folders/Dialects/Sqlite.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | class Sqlite
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Folders/Types/Integer.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | class Integer
15 | {
16 | }
17 |
--------------------------------------------------------------------------------
/phalcon/Cli/TaskInterface.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Cli;
12 |
13 | /**
14 | * Interface for task handlers
15 | */
16 | interface TaskInterface
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Text.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Text
15 | */
16 | class Text extends AbstractInput
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Annotations/TestInvalid.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | /**
15 | * @Invalid(
16 | */
17 | class TestInvalid
18 | {
19 | }
20 |
--------------------------------------------------------------------------------
/tests/_support/Helper/Integration.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Support;
12 |
13 | /**
14 | * Phalcon\Support\Exception
15 | */
16 | class Exception extends \Exception
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/extends/children2.volt:
--------------------------------------------------------------------------------
1 | {% extends "tests/_data/fixtures/views/extends/parent.volt" %}
2 |
3 | {% block title %}Index{% endblock %}
4 |
5 | {% block head %} {{ super() }} {% endblock %}
6 |
7 | {% block content %}Index
Welcome to my awesome homepage.
{% endblock %}
8 |
9 | {% block footer %}{{ super() }}{% endblock %}
10 |
--------------------------------------------------------------------------------
/phalcon/Support/Helper/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Support\Helper;
12 |
13 | /**
14 | * Phalcon\Support\Exception
15 | */
16 | class Exception extends \Exception
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/_tocheck-models/I1534.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Phalcon\Tests\Models;
13 |
14 | use Phalcon\Mvc\Model;
15 |
16 | class I1534 extends Model
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/_tocheck-models/Stock.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Phalcon\Tests\Models;
13 |
14 | use Phalcon\Mvc\Model;
15 |
16 | class Stock extends Model
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/compiler/children2.volt:
--------------------------------------------------------------------------------
1 | {% extends "tests/_data/fixtures/views/compiler/parent.volt" %}
2 |
3 | {% block title %}Index{% endblock %}
4 |
5 | {% block head %} {{ super() }} {% endblock %}
6 |
7 | {% block content %}Index
Welcome to my awesome homepage.
{% endblock %}
8 |
9 | {% block footer %}{{ super() }}{% endblock %}
10 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/_tocheck-models/Personas.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Phalcon\Tests\Models;
13 |
14 | use Phalcon\Mvc\Model;
15 |
16 | class Personas extends Model
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/_tocheck-models/Prueba.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Phalcon\Tests\Models;
13 |
14 | use Phalcon\Mvc\Model;
15 |
16 | class Prueba extends Model
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Acl/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Acl;
12 |
13 | /**
14 | * Class for exceptions thrown by Phalcon\Acl
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Namespaces/Adapter/File.inc:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | namespace Example\Namespaces\Adapter;
15 |
16 | class File
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/_tocheck-models/Personnes.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Phalcon\Tests\Models;
13 |
14 | use Phalcon\Mvc\Model;
15 |
16 | class Personnes extends Model
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Db/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Db;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Db will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Di/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Di;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Di will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Namespaces/Adapter/Mongo.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | namespace Example\Namespaces\Adapter;
15 |
16 | class Mongo
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Namespaces/Adapter/Redis.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | namespace Example\Namespaces\Adapter;
15 |
16 | class Redis
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Namespaces/Engines/Diesel.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | namespace Example\Namespaces\Engines;
15 |
16 | class Diesel
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Namespaces/Example/Example.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | namespace Example\Namespaces\Example;
15 |
16 | class Example
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Namespaces/Plugin/Another.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | namespace Example\Namespaces\Adapter;
15 |
16 | class Another
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/ext/phalcon/db/utils.c:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | int phalcon_db_checktype(zval *return_value, zval *placeholder) {
12 |
13 | if (Z_TYPE_P(placeholder) != IS_STRING) {
14 |
15 | }
16 |
17 | return 0;
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Tel.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Tel
15 | */
16 | class Tel extends AbstractInput
17 | {
18 | protected type = "tel";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Url.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Url
15 | */
16 | class Url extends AbstractInput
17 | {
18 | protected type = "url";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Image/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Image;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Image will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Namespaces/Adapter/Blackhole.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | namespace Example\Namespaces\Adapter;
15 |
16 | class Blackhole
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Namespaces/Adapter/Memcached.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | namespace Example\Namespaces\Adapter;
15 |
16 | class Memcached
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Namespaces/Engines/Gasoline.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | namespace Example\Namespaces\Engines;
15 |
16 | class Gasoline
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Acl/Enum.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Acl;
12 |
13 | /**
14 | * Constants for Phalcon\Acl\Adapter adapters
15 | */
16 | class Enum
17 | {
18 | const ALLOW = 1;
19 | const DENY = 0;
20 | }
21 |
--------------------------------------------------------------------------------
/phalcon/Events/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Events;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Events will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Forms/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Forms;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Forms will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Color.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Color
15 | */
16 | class Color extends AbstractInput
17 | {
18 | protected type = "color";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Date.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Date
15 | */
16 | class Date extends AbstractInput
17 | {
18 | protected type = "date";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Email.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Email
15 | */
16 | class Email extends AbstractInput
17 | {
18 | protected type = "email";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/File.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class File
15 | */
16 | class File extends AbstractInput
17 | {
18 | protected type = "file";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Image.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Image
15 | */
16 | class Image extends AbstractInput
17 | {
18 | protected type = "image";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Month.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Month
15 | */
16 | class Month extends AbstractInput
17 | {
18 | protected type = "month";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Range.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Range
15 | */
16 | class Range extends AbstractInput
17 | {
18 | protected type = "range";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Time.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Time
15 | */
16 | class Time extends AbstractInput
17 | {
18 | protected type = "time";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Week.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Week
15 | */
16 | class Week extends AbstractInput
17 | {
18 | protected type = "week";
19 | }
20 |
--------------------------------------------------------------------------------
/phpcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Phalcon Coding Standards
4 |
5 |
6 |
7 |
8 |
9 |
10 | tests/cli
11 | tests/database
12 | tests/integration
13 | tests/unit
14 |
15 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Functions/FunctionsNoClass.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | function noClassFoo()
15 | {
16 | }
17 |
18 | function noClassBar()
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/_tocheck-models/Relations/Robots.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Phalcon\Tests\Models\Relations;
13 |
14 | use Phalcon\Mvc\Model;
15 |
16 | class Robots extends Model
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Annotations/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Annotations;
12 |
13 | /**
14 | * Class for exceptions thrown by Phalcon\Annotations
15 | */
16 | class Exception extends \Exception
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Assets/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Assets;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Assets will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Autoload/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Autoload;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Autoload will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Config/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Config;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Config will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Hidden.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Hidden
15 | */
16 | class Hidden extends AbstractInput
17 | {
18 | protected type = "hidden";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Search.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Search
15 | */
16 | class Search extends AbstractInput
17 | {
18 | protected type = "search";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Submit.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Submit
15 | */
16 | class Submit extends AbstractInput
17 | {
18 | protected type = "submit";
19 | }
20 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Functions/FunctionsNoClassOne.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | function noClass1Foo()
15 | {
16 | }
17 |
18 | function noClass1Bar()
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Functions/FunctionsNoClassThree.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | function noClass3Foo()
15 | {
16 | }
17 |
18 | function noClass3Bar()
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Functions/FunctionsNoClassTwo.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | function noClass2Foo()
15 | {
16 | }
17 |
18 | function noClass2Bar()
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/compiler/parent.volt:
--------------------------------------------------------------------------------
1 | {% block head %}{% endblock %}{% block title %}{% endblock %} - My Webpage{% block content %}{% endblock %}
--------------------------------------------------------------------------------
/tests/_data/fixtures/views/extends/parent.volt:
--------------------------------------------------------------------------------
1 | {% block head %}{% endblock %}{% block title %}{% endblock %} - My Webpage{% block content %}{% endblock %}
--------------------------------------------------------------------------------
/phalcon/Flash/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the
8 | * LICENSE.txt file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Flash;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Flash classes will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Numeric.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Numeric
15 | */
16 | class Numeric extends AbstractInput
17 | {
18 | protected type = "number";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Storage/Serializer/RedisPhp.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Storage\Serializer;
12 |
13 | /**
14 | * Serializer using the built-in Redis 'php' serializer
15 | */
16 | class RedisPhp extends None
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Cli/Router/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Cli\Router;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Cli\Router will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/DateTime.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class DateTime
15 | */
16 | class DateTime extends AbstractInput
17 | {
18 | protected type = "datetime";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Password.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Password
15 | */
16 | class Password extends AbstractInput
17 | {
18 | protected type = "password";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Mvc/Micro/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Mvc\Micro;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Mvc\Micro will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Storage/Serializer/RedisJson.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Storage\Serializer;
12 |
13 | /**
14 | * Serializer using the built-in Redis 'json' serializer
15 | */
16 | class RedisJson extends None
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Storage/Serializer/RedisNone.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Storage\Serializer;
12 |
13 | /**
14 | * Serializer using the built-in Redis 'none' serializer
15 | */
16 | class RedisNone extends None
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Support/Debug/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Support\Debug;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Debug will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/tests/integration.suite.yml:
--------------------------------------------------------------------------------
1 | actor: IntegrationTester
2 | modules:
3 | enabled:
4 | - Phalcon5:
5 | bootstrap: 'tests/_config/bootstrap.php'
6 | - Memcache:
7 | host: '%DATA_MEMCACHED_HOST%'
8 | port: %DATA_MEMCACHED_PORT%
9 | - Redis:
10 | database: '%DATA_REDIS_NAME%'
11 | host: '%DATA_REDIS_HOST%'
12 | port: '%DATA_REDIS_PORT%'
13 | - Asserts
14 | - Filesystem
15 | - Helper\Integration
16 | - Helper\Unit
17 |
--------------------------------------------------------------------------------
/phalcon/Cache/Exception/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Cache\Exception;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Cache will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Escaper/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Escaper;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Html\Escaper will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Messages/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Messages;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Messages\* classes will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/_tocheck-models/Users.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Phalcon\Tests\Models;
13 |
14 | use Phalcon\Mvc\Model;
15 |
16 | class Users extends Model
17 | {
18 | public $id;
19 | public $name;
20 | }
21 |
--------------------------------------------------------------------------------
/ext/phalcon/mvc/model_contants.h:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | #ifndef PHALCON_MVC_MODEL_CONSTANTS_H
12 | #define PHALCON_MVC_MODEL_CONSTANTS_H
13 |
14 | #define PH_MODELS_AUTOMATIC_DEFAULT_INSERT 10
15 |
16 | #endif /* PHALCON_MVC_MODEL_CONSTANTS_H */
17 |
--------------------------------------------------------------------------------
/phalcon/Storage/Serializer/MemcachedJson.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Storage\Serializer;
12 |
13 | /**
14 | * Serializer using the built-in Memcached 'json' serializer
15 | */
16 | class MemcachedJson extends None
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Storage/Serializer/MemcachedPhp.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Storage\Serializer;
12 |
13 | /**
14 | * Serializer using the built-in Memcached 'php' serializer
15 | */
16 | class MemcachedPhp extends None
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Storage/Serializer/RedisIgbinary.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Storage\Serializer;
12 |
13 | /**
14 | * Serializer using the built-in Redis 'igbinary' serializer
15 | */
16 | class RedisIgbinary extends None
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Storage/Serializer/RedisMsgpack.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Storage\Serializer;
12 |
13 | /**
14 | * Serializer using the built-in Redis 'msgpack' serializer
15 | */
16 | class RedisMsgpack extends None
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Application/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Application;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Application class will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
21 |
--------------------------------------------------------------------------------
/phalcon/Forms/Element/Text.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Forms\Element;
12 |
13 | use Phalcon\Forms\Exception;
14 |
15 | /**
16 | * Component INPUT[type=text] for forms
17 | */
18 | class Text extends AbstractElement
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/phalcon/Mvc/ControllerInterface.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Mvc;
12 |
13 | /**
14 | * Phalcon\Mvc\ControllerInterface
15 | *
16 | * Interface for controller handlers
17 | */
18 | interface ControllerInterface
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/phalcon/Support/Collection/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Support\Collection;
12 |
13 | use Throwable;
14 |
15 | /**
16 | * Exceptions for the Collection object
17 | */
18 | class Exception extends \Exception
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Di/SimpleComponent.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 |
15 | namespace Phalcon\Tests\Fixtures\Di;
16 |
17 | /**
18 | * SimpleComponent class
19 | */
20 | class SimpleComponent
21 | {
22 | }
23 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/resultsets/Stats.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Resultsets;
15 |
16 | use Phalcon\Mvc\Model\Resultset\Simple;
17 |
18 | class Stats extends Simple
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | - [CHANGELOG 4.1](resources/CHANGELOG-4.1.md)
2 | - [CHANGELOG 4.0](resources/CHANGELOG-4.0.md)
3 | - [CHANGELOG 3.4](resources/CHANGELOG-3.4.md)
4 | - [CHANGELOG 3.3](resources/CHANGELOG-3.3.md)
5 | - [CHANGELOG 3.2](resources/CHANGELOG-3.2.md)
6 | - [CHANGELOG 3.1](resources/CHANGELOG-3.1.md)
7 | - [CHANGELOG 3.0](resources/CHANGELOG-3.0.md)
8 | - [CHANGELOG 2.0](resources/CHANGELOG-2.0.md)
9 | - [CHANGELOG 1.x](resources/CHANGELOG-1.x.md)
10 | - [CHANGELOG 0.x](resources/CHANGELOG-0.x.md)
11 |
--------------------------------------------------------------------------------
/phalcon/Encryption/Crypt/Exception/Mismatch.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Encryption\Crypt\Exception;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Crypt will use this class.
15 | */
16 | class Mismatch extends Exception
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/DateTimeLocal.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class DateTimeLocal
15 | */
16 | class DateTimeLocal extends AbstractInput
17 | {
18 | protected type = "datetime-local";
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Tag/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Tag;
12 |
13 | /**
14 | * Phalcon\Tag\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Tag will use this class
17 | */
18 | class Exception extends \Exception
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Paginator/Store.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\Paginator;
15 |
16 | use Phalcon\Paginator\Repository;
17 |
18 | class Store extends Repository
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/ext/phalcon/7__closure.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_7__closure_ce;
3 |
4 | ZEPHIR_INIT_CLASS(phalcon_7__closure);
5 |
6 | PHP_METHOD(phalcon_7__closure, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_7__closure___invoke, 0, 0, 1)
9 | ZEND_ARG_INFO(0, file)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_7__closure_method_entry) {
13 | PHP_ME(phalcon_7__closure, __invoke, arginfo_phalcon_7__closure___invoke, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/phalcon/Cli/Console/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Cli\Console;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Cli\Console will use this class
15 | */
16 | class Exception extends \Phalcon\Application\Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Encryption/Crypt/Exception/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 |
12 | namespace Phalcon\Encryption\Crypt\Exception;
13 |
14 | /**
15 | * Exceptions thrown in Phalcon\Crypt use this class
16 | */
17 | class Exception extends \Exception
18 | {
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Logger/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Logger;
12 |
13 | /**
14 | * Phalcon\Logger\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Logger will use this class
17 | */
18 | class Exception extends \Exception
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/phalcon/Session/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Session;
12 |
13 | /**
14 | * Phalcon\Session\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Session will use this class
17 | */
18 | class Exception extends \Exception
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/phalcon/Storage/Serializer/MemcachedIgbinary.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Storage\Serializer;
12 |
13 | /**
14 | * Serializer using the built-in Memcached 'igbinary' serializer
15 | */
16 | class MemcachedIgbinary extends None
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/DataMapper/Pdo/PdoFixture.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\Session;
15 |
16 | use Phalcon\Di\Injectable;
17 |
18 | class InjectableBag extends Injectable
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/controllers/ExceptionController.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Cli\Dispatcher;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Cli\Dispatcher will use this class
15 | */
16 | class Exception extends \Phalcon\Dispatcher\Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Di/Exception/ServiceResolutionException.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Di\Exception;
12 |
13 | /**
14 | * Phalcon\Di\Exception\ServiceResolutionException
15 | */
16 | class ServiceResolutionException extends \Phalcon\Di\Exception
17 | {
18 | }
19 |
--------------------------------------------------------------------------------
/phalcon/Filter/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Filter;
12 |
13 | /**
14 | * Phalcon\Filter\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Filter will use this class
17 | */
18 | class Exception extends \Exception
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/phalcon/Filter/Validation/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Filter\Validation;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Filter\Validation\* classes will use this class
15 | */
16 | class Exception extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Html/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html;
12 |
13 | /**
14 | * Phalcon\Html\Tag\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Html\Tag will use this class
17 | */
18 | class Exception extends \Exception
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Input/Radio.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper\Input;
12 |
13 | /**
14 | * Class Radio
15 | */
16 | class Radio extends Checkbox
17 | {
18 | /**
19 | * @var string
20 | */
21 | protected type = "radio";
22 | }
23 |
--------------------------------------------------------------------------------
/phalcon/Mvc/View/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Mvc\View;
12 |
13 | /**
14 | * Phalcon\Mvc\View\Exception
15 | *
16 | * Class for exceptions thrown by Phalcon\Mvc\View
17 | */
18 | class Exception extends \Exception
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/phalcon/Translate/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Translate;
12 |
13 | /**
14 | * Phalcon\Translate\Exception
15 | *
16 | * Class for exceptions thrown by Phalcon\Translate
17 | */
18 | class Exception extends \Exception
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/tests/_data/assets/config/directive.ini:
--------------------------------------------------------------------------------
1 | [test]
2 | parent.property = On
3 | parent.property2 = "yeah"
4 | parent.property3.baseuri = /phalcon/
5 | parent.property4.models.metadata = memory
6 | parent.property5.database.adapter = mysql
7 | parent.property5.database.host = localhost
8 | parent.property5.database.username = user
9 | parent.property5.database.password = passwd
10 | parent.property5.database.name = demo
11 | parent.property6.test[] = a
12 | parent.property6.test[] = b
13 | parent.property6.test[] = c
14 |
--------------------------------------------------------------------------------
/ext/phalcon/10__closure.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_10__closure_ce;
3 |
4 | ZEPHIR_INIT_CLASS(phalcon_10__closure);
5 |
6 | PHP_METHOD(phalcon_10__closure, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_10__closure___invoke, 0, 0, 1)
9 | ZEND_ARG_INFO(0, action)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_10__closure_method_entry) {
13 | PHP_ME(phalcon_10__closure, __invoke, arginfo_phalcon_10__closure___invoke, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/ext/phalcon/13__closure.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_13__closure_ce;
3 |
4 | ZEPHIR_INIT_CLASS(phalcon_13__closure);
5 |
6 | PHP_METHOD(phalcon_13__closure, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_13__closure___invoke, 0, 0, 1)
9 | ZEND_ARG_INFO(0, element)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_13__closure_method_entry) {
13 | PHP_ME(phalcon_13__closure, __invoke, arginfo_phalcon_13__closure___invoke, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/ext/phalcon/14__closure.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_14__closure_ce;
3 |
4 | ZEPHIR_INIT_CLASS(phalcon_14__closure);
5 |
6 | PHP_METHOD(phalcon_14__closure, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_14__closure___invoke, 0, 0, 1)
9 | ZEND_ARG_INFO(0, element)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_14__closure_method_entry) {
13 | PHP_ME(phalcon_14__closure, __invoke, arginfo_phalcon_14__closure___invoke, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/ext/phalcon/html/helper/ul.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_html_helper_ul_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Html_Helper_Ul);
5 |
6 | PHP_METHOD(Phalcon_Html_Helper_Ul, getTag);
7 |
8 | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_html_helper_ul_gettag, 0, 0, IS_STRING, 0)
9 | ZEND_END_ARG_INFO()
10 |
11 | ZEPHIR_INIT_FUNCS(phalcon_html_helper_ul_method_entry) {
12 | PHP_ME(Phalcon_Html_Helper_Ul, getTag, arginfo_phalcon_html_helper_ul_gettag, ZEND_ACC_PROTECTED)
13 | PHP_FE_END
14 | };
15 |
--------------------------------------------------------------------------------
/phalcon/Cache/Exception/InvalidArgumentException.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Cache\Exception;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Cache will use this class
15 | */
16 | class InvalidArgumentException extends \Exception
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Mvc/Url/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Mvc\Url;
12 |
13 | /**
14 | * Phalcon\Mvc\Url\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Mvc\Url will use this class
17 | */
18 | class Exception extends \Exception
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/ext/phalcon/acl/roleawareinterface.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_acl_roleawareinterface_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Acl_RoleAwareInterface);
5 |
6 | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_acl_roleawareinterface_getrolename, 0, 0, IS_STRING, 0)
7 | ZEND_END_ARG_INFO()
8 |
9 | ZEPHIR_INIT_FUNCS(phalcon_acl_roleawareinterface_method_entry) {
10 | PHP_ABSTRACT_ME(Phalcon_Acl_RoleAwareInterface, getRoleName, arginfo_phalcon_acl_roleawareinterface_getrolename)
11 | PHP_FE_END
12 | };
13 |
--------------------------------------------------------------------------------
/phalcon/Di/InitializationAwareInterface.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Di;
12 |
13 | /**
14 | * Interface for components that have `initialize()`
15 | */
16 | interface InitializationAwareInterface
17 | {
18 | public function initialize() -> void;
19 | }
20 |
--------------------------------------------------------------------------------
/phalcon/Paginator/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Paginator;
12 |
13 | /**
14 | * Phalcon\Paginator\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Paginator will use this class
17 | */
18 | class Exception extends \Exception
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/phalcon/Storage/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Storage;
12 |
13 | /**
14 | * Phalcon\Storage\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Storage will use this class
17 | *
18 | */
19 | class Exception extends \Exception
20 | {
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Objects/ChildObject.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\Objects;
15 |
16 | class ChildObject
17 | {
18 | public function getValue() {
19 | return 'Value';
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/phalcon/Http/Cookie/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Http\Cookie;
12 |
13 | /**
14 | * Phalcon\Http\Cookie\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Http\Cookie will use this class.
17 | */
18 | class Exception extends \Exception
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/phalcon/Mvc/Router/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Mvc\Router;
12 |
13 | /**
14 | * Phalcon\Mvc\Router\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Mvc\Router will use this class
17 | */
18 | class Exception extends \Exception
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/phalcon/Mvc/Model/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Mvc\Model;
12 |
13 | /**
14 | * Phalcon\Mvc\Model\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Mvc\Model\* classes will use this class
17 | */
18 | class Exception extends \Exception
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Resultset.php:
--------------------------------------------------------------------------------
1 | calculated = $calculated;
21 | }
22 | }
--------------------------------------------------------------------------------
/ext/phalcon/mvc/controller.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_mvc_controller_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Mvc_Controller);
5 |
6 | PHP_METHOD(Phalcon_Mvc_Controller, __construct);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_controller___construct, 0, 0, 0)
9 | ZEND_END_ARG_INFO()
10 |
11 | ZEPHIR_INIT_FUNCS(phalcon_mvc_controller_method_entry) {
12 | PHP_ME(Phalcon_Mvc_Controller, __construct, arginfo_phalcon_mvc_controller___construct, ZEND_ACC_FINAL|ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
13 | PHP_FE_END
14 | };
15 |
--------------------------------------------------------------------------------
/phalcon/Http/Request/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Http\Request;
12 |
13 | /**
14 | * Phalcon\Http\Request\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Http\Request will use this class
17 | */
18 | class Exception extends \Exception
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/phalcon/Http/Response/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Http\Response;
12 |
13 | /**
14 | * Phalcon\Http\Response\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Http\Response will use this class.
17 | */
18 | class Exception extends \Exception
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Events/ComponentWithEvents.php:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | namespace Phalcon\Tests\Fixtures\Events;
15 |
16 | use Phalcon\Events\AbstractEventsAware;
17 |
18 | class ComponentWithEvents extends AbstractEventsAware
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Loader/Example/Namespaces/Engines/Alcohol.inc:
--------------------------------------------------------------------------------
1 |
9 | *
10 | * For the full copyright and license information, please view the LICENSE.txt
11 | * file that was distributed with this source code.
12 | */
13 |
14 | namespace Example\Namespaces\Engines;
15 |
16 | class Alcohol
17 | {
18 | public function some()
19 | {
20 | return true;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/ext/phalcon/di/factorydefault.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_di_factorydefault_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Di_FactoryDefault);
5 |
6 | PHP_METHOD(Phalcon_Di_FactoryDefault, __construct);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_di_factorydefault___construct, 0, 0, 0)
9 | ZEND_END_ARG_INFO()
10 |
11 | ZEPHIR_INIT_FUNCS(phalcon_di_factorydefault_method_entry) {
12 | PHP_ME(Phalcon_Di_FactoryDefault, __construct, arginfo_phalcon_di_factorydefault___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
13 | PHP_FE_END
14 | };
15 |
--------------------------------------------------------------------------------
/tests/_envs/pgsql.yml:
--------------------------------------------------------------------------------
1 | # `postgres` environment config goes here
2 | modules:
3 | enabled:
4 | - Db:
5 | dsn: 'pgsql:host=%DATA_POSTGRES_HOST%;dbname=%DATA_POSTGRES_NAME%;port=%DATA_POSTGRES_PORT%'
6 | user: '%DATA_POSTGRES_USER%'
7 | password: '%DATA_POSTGRES_PASS%'
8 | dump: 'tests/_data/assets/schemas/pgsql.sql'
9 | populate: true
10 | cleanup: false
11 | reconnect: true
12 | waitlock: 10
13 | initial_queries:
14 | - 'CREATE SCHEMA IF NOT EXISTS private;'
15 |
--------------------------------------------------------------------------------
/phalcon/Filter/Validation/AbstractCombinedFieldsValidator.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Filter\Validation;
12 |
13 | /**
14 | * This is a base class for combined fields validators
15 | */
16 | abstract class AbstractCombinedFieldsValidator extends AbstractValidator
17 | {
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/_tocheck-models/People.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Phalcon\Tests\Models;
13 |
14 | use Phalcon\Mvc\Model;
15 |
16 | class People extends Model
17 | {
18 | public function initialize()
19 | {
20 | $this->setSource('personas');
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/phalcon/Encryption/Security/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Encryption\Security;
12 |
13 | /**
14 | * Phalcon\Encryption\Security\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Security will use this class
17 | */
18 | class Exception extends \Exception
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/phalcon/Filter/Validation/Validator/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Filter\Validation\Validator;
12 |
13 | /**
14 | * Exceptions thrown in Phalcon\Filter\Validation\Validator\* classes will use this
15 | * class
16 | */
17 | class Exception extends \Exception
18 | {
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/phalcon/Html/Helper/Ul.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Html\Helper;
12 |
13 | /**
14 | * Class Ul
15 | */
16 | class Ul extends Ol
17 | {
18 | /**
19 | * @return string
20 | */
21 | protected function getTag() -> string
22 | {
23 | return "ul";
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/ext/phalcon/assets/filterinterface.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_assets_filterinterface_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Assets_FilterInterface);
5 |
6 | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_assets_filterinterface_filter, 0, 1, IS_STRING, 0)
7 | ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
8 | ZEND_END_ARG_INFO()
9 |
10 | ZEPHIR_INIT_FUNCS(phalcon_assets_filterinterface_method_entry) {
11 | PHP_ABSTRACT_ME(Phalcon_Assets_FilterInterface, filter, arginfo_phalcon_assets_filterinterface_filter)
12 | PHP_FE_END
13 | };
14 |
--------------------------------------------------------------------------------
/phalcon/Mvc/Dispatcher/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Mvc\Dispatcher;
12 |
13 | /**
14 | * Phalcon\Mvc\Dispatcher\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Mvc\Dispatcher will use this class
17 | */
18 | class Exception extends \Phalcon\Dispatcher\Exception
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Listener/OneListener.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\Listener;
15 |
16 | class OneListener
17 | {
18 | public function beforeAction($event, $component, $data)
19 | {
20 | return 'one';
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Listener/TwoListener.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\Listener;
15 |
16 | class TwoListener
17 | {
18 | public function beforeAction($event, $component, $data)
19 | {
20 | return 'two';
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/_tocheck-models/Subscribers.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Phalcon\Tests\Models;
13 |
14 | use Phalcon\Mvc\Model;
15 |
16 | class Subscribers extends Model
17 | {
18 | public function initialize()
19 | {
20 | $this->setSource('subscriptores');
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/tests/_envs/mysql.yml:
--------------------------------------------------------------------------------
1 | # `mysql` environment config goes here
2 | modules:
3 | enabled:
4 | - Db:
5 | dsn: 'mysql:host=%DATA_MYSQL_HOST%;dbname=%DATA_MYSQL_NAME%;port=%DATA_MYSQL_PORT%'
6 | user: '%DATA_MYSQL_USER%'
7 | password: '%DATA_MYSQL_PASS%'
8 | dump: 'tests/_data/assets/schemas/mysql.sql'
9 | populate: true
10 | cleanup: false
11 | reconnect: true
12 | waitlock: 10
13 | initial_queries:
14 | - "SET NAMES utf8;"
15 | - "CREATE SCHEMA IF NOT EXISTS private"
16 |
--------------------------------------------------------------------------------
/tests/database.suite.yml:
--------------------------------------------------------------------------------
1 | actor: DatabaseTester
2 | modules:
3 | enabled:
4 | - Phalcon5:
5 | bootstrap: 'tests/_config/bootstrap.php'
6 | # - Helper\PhalconLibmemcached:
7 | # host: '%DATA_MEMCACHED_HOST%'
8 | # port: '%DATA_MEMCACHED_PORT%'
9 | # weight: '%DATA_MEMCACHED_WEIGHT%'
10 | - Redis:
11 | database: '%DATA_REDIS_NAME%'
12 | host: '%DATA_REDIS_HOST%'
13 | port: '%DATA_REDIS_PORT%'
14 | - Asserts
15 | - Filesystem
16 | - Helper\Database
17 | - Helper\Unit
18 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/sanitize/url.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_sanitize_url_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_Sanitize_Url);
5 |
6 | PHP_METHOD(Phalcon_Filter_Sanitize_Url, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_sanitize_url___invoke, 0, 0, 1)
9 | ZEND_ARG_INFO(0, input)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_filter_sanitize_url_method_entry) {
13 | PHP_ME(Phalcon_Filter_Sanitize_Url, __invoke, arginfo_phalcon_filter_sanitize_url___invoke, ZEND_ACC_PUBLIC)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Db/postgresql/example10.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE "table" (
2 | "column14" SERIAL NOT NULL,
3 | "column15" INT DEFAULT 5 NOT NULL,
4 | "column16" CHARACTER VARYING(10) DEFAULT 'column16',
5 | "column17" BOOLEAN DEFAULT false NOT NULL,
6 | "column18" BOOLEAN DEFAULT true NOT NULL
7 | );
8 | COMMENT ON COLUMN "table"."column14" IS 'test';
9 | COMMENT ON COLUMN "table"."column15" IS 'test';
10 | COMMENT ON COLUMN "table"."column16" IS 'test';
11 | COMMENT ON COLUMN "table"."column17" IS 'test';
12 | COMMENT ON COLUMN "table"."column18" IS 'test';
13 |
14 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Forms/ContactFormPublicProperties.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\Forms;
15 |
16 | class ContactFormPublicProperties
17 | {
18 | public $telephone = '+44 124 82122';
19 | public $address = 'Cr. 12 #12-82';
20 | }
21 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Listener/ThreeListener.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\Listener;
15 |
16 | class ThreeListener
17 | {
18 | public function beforeAction($event, $component, $data)
19 | {
20 | return 'three';
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/ext/phalcon/acl/componentawareinterface.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_acl_componentawareinterface_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Acl_ComponentAwareInterface);
5 |
6 | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_acl_componentawareinterface_getcomponentname, 0, 0, IS_STRING, 0)
7 | ZEND_END_ARG_INFO()
8 |
9 | ZEPHIR_INIT_FUNCS(phalcon_acl_componentawareinterface_method_entry) {
10 | PHP_ABSTRACT_ME(Phalcon_Acl_ComponentAwareInterface, getComponentName, arginfo_phalcon_acl_componentawareinterface_getcomponentname)
11 | PHP_FE_END
12 | };
13 |
--------------------------------------------------------------------------------
/ext/phalcon/html/attributes/renderinterface.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_html_attributes_renderinterface_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Html_Attributes_RenderInterface);
5 |
6 | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_html_attributes_renderinterface_render, 0, 0, IS_STRING, 0)
7 | ZEND_END_ARG_INFO()
8 |
9 | ZEPHIR_INIT_FUNCS(phalcon_html_attributes_renderinterface_method_entry) {
10 | PHP_ABSTRACT_ME(Phalcon_Html_Attributes_RenderInterface, render, arginfo_phalcon_html_attributes_renderinterface_render)
11 | PHP_FE_END
12 | };
13 |
--------------------------------------------------------------------------------
/ext/phalcon/mvc/model/resultinterface.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_mvc_model_resultinterface_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Mvc_Model_ResultInterface);
5 |
6 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_resultinterface_setdirtystate, 0, 0, 1)
7 | ZEND_ARG_TYPE_INFO(0, dirtyState, IS_LONG, 0)
8 | ZEND_END_ARG_INFO()
9 |
10 | ZEPHIR_INIT_FUNCS(phalcon_mvc_model_resultinterface_method_entry) {
11 | PHP_ABSTRACT_ME(Phalcon_Mvc_Model_ResultInterface, setDirtyState, arginfo_phalcon_mvc_model_resultinterface_setdirtystate)
12 | PHP_FE_END
13 | };
14 |
--------------------------------------------------------------------------------
/phalcon/Encryption/Security/JWT/Exceptions/ValidatorException.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Encryption\Security\JWT\Exceptions;
12 |
13 | use Exception;
14 |
15 | /**
16 | * Exception thrown when the validation does not pass for JWT
17 | */
18 | class ValidatorException extends Exception
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/phalcon/Forms/Element/Date.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Forms\Element;
12 |
13 | use Phalcon\Tag;
14 |
15 | /**
16 | * Component INPUT[type=date] for forms
17 | */
18 | class Date extends AbstractElement
19 | {
20 | /**
21 | * @var string
22 | */
23 | protected method = "inputDate";
24 | }
25 |
--------------------------------------------------------------------------------
/phalcon/Forms/Element/File.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Forms\Element;
12 |
13 | use Phalcon\Tag;
14 |
15 | /**
16 | * Component INPUT[type=file] for forms
17 | */
18 | class File extends AbstractElement
19 | {
20 | /**
21 | * @var string
22 | */
23 | protected method = "inputFile";
24 | }
25 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/_tocheck-models/Relations/M2MParts.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Phalcon\Tests\Models\Relations;
13 |
14 | use Phalcon\Mvc\Model;
15 |
16 | class M2MParts extends Model
17 | {
18 | public function initialize()
19 | {
20 | $this->setSource('m2m_parts');
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/_tocheck-models/Statistics/CityStats.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Phalcon\Tests\Models\Statistics;
13 |
14 | use Phalcon\Mvc\Model;
15 |
16 | class CityStats extends Model
17 | {
18 | public function initialize()
19 | {
20 | $this->setSource('stats');
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/ext/phalcon/di/factorydefault/cli.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_di_factorydefault_cli_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Di_FactoryDefault_Cli);
5 |
6 | PHP_METHOD(Phalcon_Di_FactoryDefault_Cli, __construct);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_di_factorydefault_cli___construct, 0, 0, 0)
9 | ZEND_END_ARG_INFO()
10 |
11 | ZEPHIR_INIT_FUNCS(phalcon_di_factorydefault_cli_method_entry) {
12 | PHP_ME(Phalcon_Di_FactoryDefault_Cli, __construct, arginfo_phalcon_di_factorydefault_cli___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
13 | PHP_FE_END
14 | };
15 |
--------------------------------------------------------------------------------
/phalcon/Acl/RoleAwareInterface.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Acl;
12 |
13 | /**
14 | * Interface for classes which could be used in allow method as ROLE
15 | */
16 | interface RoleAwareInterface
17 | {
18 | /**
19 | * Returns role name
20 | */
21 | public function getRoleName() -> string;
22 | }
23 |
--------------------------------------------------------------------------------
/phalcon/Cache/Adapter/AdapterInterface.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Cache\Adapter;
12 |
13 | use Phalcon\Storage\Adapter\AdapterInterface as StorageAdapterInterface;
14 |
15 | /**
16 | * Interface for Phalcon\Cache adapters
17 | */
18 | interface AdapterInterface extends StorageAdapterInterface
19 | {
20 | }
21 |
--------------------------------------------------------------------------------
/phalcon/Forms/Element/Email.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Forms\Element;
12 |
13 | use Phalcon\Tag;
14 |
15 | /**
16 | * Component INPUT[type=email] for forms
17 | */
18 | class Email extends AbstractElement
19 | {
20 | /**
21 | * @var string
22 | */
23 | protected method = "inputEmail";
24 | }
25 |
--------------------------------------------------------------------------------
/phalcon/Forms/Element/Radio.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Forms\Element;
12 |
13 | use Phalcon\Tag;
14 |
15 | /**
16 | * Component INPUT[type=radio] for forms
17 | */
18 | class Radio extends AbstractElement
19 | {
20 | /**
21 | * @var string
22 | */
23 | protected method = "inputRadio";
24 | }
25 |
--------------------------------------------------------------------------------
/phalcon/Forms/Element/TextArea.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Forms\Element;
12 |
13 | use Phalcon\Tag;
14 |
15 | /**
16 | * Component TEXTAREA for forms
17 | */
18 | class TextArea extends AbstractElement
19 | {
20 | /**
21 | * @var string
22 | */
23 | protected method = "inputTextarea";
24 | }
25 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Tasks/EchoTask.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\Tasks;
15 |
16 | use Phalcon\Cli\Task;
17 |
18 | class EchoTask extends Task
19 | {
20 | public function mainAction()
21 | {
22 | return 'echoMainAction';
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/models/Album.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\models;
15 |
16 | use Phalcon\Mvc\Model;
17 |
18 | class Album extends Model
19 | {
20 | public function initialize()
21 | {
22 | $this->setSource('album');
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/models/Photo.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\models;
15 |
16 | use Phalcon\Mvc\Model;
17 |
18 | class Photo extends Model
19 | {
20 | public function initialize()
21 | {
22 | $this->setSource('photo');
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/ext/phalcon/di/initializationawareinterface.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_di_initializationawareinterface_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Di_InitializationAwareInterface);
5 |
6 | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_di_initializationawareinterface_initialize, 0, 0, IS_VOID, 0)
7 | ZEND_END_ARG_INFO()
8 |
9 | ZEPHIR_INIT_FUNCS(phalcon_di_initializationawareinterface_method_entry) {
10 | PHP_ABSTRACT_ME(Phalcon_Di_InitializationAwareInterface, initialize, arginfo_phalcon_di_initializationawareinterface_initialize)
11 | PHP_FE_END
12 | };
13 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/sanitize/alnum.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_sanitize_alnum_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_Sanitize_Alnum);
5 |
6 | PHP_METHOD(Phalcon_Filter_Sanitize_Alnum, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_sanitize_alnum___invoke, 0, 0, 1)
9 | ZEND_ARG_INFO(0, input)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_filter_sanitize_alnum_method_entry) {
13 | PHP_ME(Phalcon_Filter_Sanitize_Alnum, __invoke, arginfo_phalcon_filter_sanitize_alnum___invoke, ZEND_ACC_PUBLIC)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/sanitize/alpha.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_sanitize_alpha_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_Sanitize_Alpha);
5 |
6 | PHP_METHOD(Phalcon_Filter_Sanitize_Alpha, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_sanitize_alpha___invoke, 0, 0, 1)
9 | ZEND_ARG_INFO(0, input)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_filter_sanitize_alpha_method_entry) {
13 | PHP_ME(Phalcon_Filter_Sanitize_Alpha, __invoke, arginfo_phalcon_filter_sanitize_alpha___invoke, ZEND_ACC_PUBLIC)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/sanitize/email.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_sanitize_email_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_Sanitize_Email);
5 |
6 | PHP_METHOD(Phalcon_Filter_Sanitize_Email, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_sanitize_email___invoke, 0, 0, 1)
9 | ZEND_ARG_INFO(0, input)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_filter_sanitize_email_method_entry) {
13 | PHP_ME(Phalcon_Filter_Sanitize_Email, __invoke, arginfo_phalcon_filter_sanitize_email___invoke, ZEND_ACC_PUBLIC)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/ext/phalcon/mvc/model/binder/bindableinterface.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_mvc_model_binder_bindableinterface_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Mvc_Model_Binder_BindableInterface);
5 |
6 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_model_binder_bindableinterface_getmodelname, 0, 0, 0)
7 | ZEND_END_ARG_INFO()
8 |
9 | ZEPHIR_INIT_FUNCS(phalcon_mvc_model_binder_bindableinterface_method_entry) {
10 | PHP_ABSTRACT_ME(Phalcon_Mvc_Model_Binder_BindableInterface, getModelName, arginfo_phalcon_mvc_model_binder_bindableinterface_getmodelname)
11 | PHP_FE_END
12 | };
13 |
--------------------------------------------------------------------------------
/phalcon/Forms/Element/Hidden.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Forms\Element;
12 |
13 | use Phalcon\Tag;
14 |
15 | /**
16 | * Component INPUT[type=hidden] for forms
17 | */
18 | class Hidden extends AbstractElement
19 | {
20 | /**
21 | * @var string
22 | */
23 | protected method = "inputHidden";
24 | }
25 |
--------------------------------------------------------------------------------
/phalcon/Forms/Element/Submit.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Forms\Element;
12 |
13 | use Phalcon\Tag;
14 |
15 | /**
16 | * Component INPUT[type=submit] for forms
17 | */
18 | class Submit extends AbstractElement
19 | {
20 | /**
21 | * @var string
22 | */
23 | protected method = "inputSubmit";
24 | }
25 |
--------------------------------------------------------------------------------
/phalcon/Mvc/Application/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Mvc\Application;
12 |
13 | /**
14 | * Phalcon\Mvc\Application\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Mvc\Application class will use this class
17 | */
18 | class Exception extends \Phalcon\Application\Exception
19 | {
20 |
21 | }
22 |
23 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Tasks/PrintTask.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\Tasks;
15 |
16 | use Phalcon\Cli\Task;
17 |
18 | class PrintTask extends Task
19 | {
20 | public function mainAction()
21 | {
22 | echo 'printMainAction';
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/sanitize/absint.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_sanitize_absint_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_Sanitize_AbsInt);
5 |
6 | PHP_METHOD(Phalcon_Filter_Sanitize_AbsInt, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_sanitize_absint___invoke, 0, 0, 1)
9 | ZEND_ARG_INFO(0, input)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_filter_sanitize_absint_method_entry) {
13 | PHP_ME(Phalcon_Filter_Sanitize_AbsInt, __invoke, arginfo_phalcon_filter_sanitize_absint___invoke, ZEND_ACC_PUBLIC)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/sanitize/intval.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_sanitize_intval_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_Sanitize_IntVal);
5 |
6 | PHP_METHOD(Phalcon_Filter_Sanitize_IntVal, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_sanitize_intval___invoke, 0, 0, 1)
9 | ZEND_ARG_INFO(0, input)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_filter_sanitize_intval_method_entry) {
13 | PHP_ME(Phalcon_Filter_Sanitize_IntVal, __invoke, arginfo_phalcon_filter_sanitize_intval___invoke, ZEND_ACC_PUBLIC)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/ext/phalcon/html/escaperfactory.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_html_escaperfactory_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Html_EscaperFactory);
5 |
6 | PHP_METHOD(Phalcon_Html_EscaperFactory, newInstance);
7 |
8 | ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_phalcon_html_escaperfactory_newinstance, 0, 0, Phalcon\\Html\\Escaper, 0)
9 | ZEND_END_ARG_INFO()
10 |
11 | ZEPHIR_INIT_FUNCS(phalcon_html_escaperfactory_method_entry) {
12 | PHP_ME(Phalcon_Html_EscaperFactory, newInstance, arginfo_phalcon_html_escaperfactory_newinstance, ZEND_ACC_PUBLIC)
13 | PHP_FE_END
14 | };
15 |
--------------------------------------------------------------------------------
/ext/phalcon/mvc/micro/middlewareinterface.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_mvc_micro_middlewareinterface_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Mvc_Micro_MiddlewareInterface);
5 |
6 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_mvc_micro_middlewareinterface_call, 0, 0, 1)
7 | ZEND_ARG_OBJ_INFO(0, application, Phalcon\\Mvc\\Micro, 0)
8 | ZEND_END_ARG_INFO()
9 |
10 | ZEPHIR_INIT_FUNCS(phalcon_mvc_micro_middlewareinterface_method_entry) {
11 | PHP_ABSTRACT_ME(Phalcon_Mvc_Micro_MiddlewareInterface, call, arginfo_phalcon_mvc_micro_middlewareinterface_call)
12 | PHP_FE_END
13 | };
14 |
--------------------------------------------------------------------------------
/phalcon/Forms/Element/Numeric.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Forms\Element;
12 |
13 | use Phalcon\Tag;
14 |
15 | /**
16 | * Component INPUT[type=number] for forms
17 | */
18 | class Numeric extends AbstractElement
19 | {
20 | /**
21 | * @var string
22 | */
23 | protected method = "inputNumeric";
24 | }
25 |
--------------------------------------------------------------------------------
/phalcon/Html/EscaperFactory.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * For the full copyright and license information, please view the LICENSE.md
6 | * file that was distributed with this source code.
7 | */
8 |
9 | namespace Phalcon\Html;
10 |
11 | /**
12 | * Class EscaperFactory
13 | */
14 | class EscaperFactory
15 | {
16 | /**
17 | * Create a new instance of the object
18 | *
19 | * @return Escaper
20 | */
21 | public function newInstance() ->
22 | {
23 | return new Escaper();
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Dump/ClassProperties.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\Dump;
15 |
16 | /**
17 | * Class ClassProperties
18 | */
19 | class ClassProperties
20 | {
21 | public $foo = 1;
22 |
23 | protected $bar = 2;
24 |
25 | private $baz = 3;
26 | }
27 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Objects/ParentObject.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\Objects;
15 |
16 | class ParentObject
17 | {
18 | public $child = null;
19 |
20 | public function __construct($child)
21 | {
22 | $this->child = $child;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Traits/ApcuTrait.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\Traits;
15 |
16 | use UnitTester;
17 |
18 | trait ApcuTrait
19 | {
20 | public function _before(UnitTester $I)
21 | {
22 | $I->checkExtensionIsLoaded('apcu');
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/models/Stuff.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Models;
15 |
16 | use Phalcon\Mvc\Model;
17 |
18 | /**
19 | * Class Stuff
20 | */
21 | class Stuff extends Model
22 | {
23 | public $stf_id;
24 | public $stf_name;
25 | public $stf_type;
26 | }
27 |
--------------------------------------------------------------------------------
/ext/phalcon/domain/payload/status.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_domain_payload_status_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Domain_Payload_Status);
5 |
6 | PHP_METHOD(Phalcon_Domain_Payload_Status, __construct);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_domain_payload_status___construct, 0, 0, 0)
9 | ZEND_END_ARG_INFO()
10 |
11 | ZEPHIR_INIT_FUNCS(phalcon_domain_payload_status_method_entry) {
12 | PHP_ME(Phalcon_Domain_Payload_Status, __construct, arginfo_phalcon_domain_payload_status___construct, ZEND_ACC_FINAL|ZEND_ACC_PRIVATE|ZEND_ACC_CTOR)
13 | PHP_FE_END
14 | };
15 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/sanitize/trim.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_sanitize_trim_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_Sanitize_Trim);
5 |
6 | PHP_METHOD(Phalcon_Filter_Sanitize_Trim, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_sanitize_trim___invoke, 0, 0, 1)
9 | ZEND_ARG_TYPE_INFO(0, input, IS_STRING, 0)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_filter_sanitize_trim_method_entry) {
13 | PHP_ME(Phalcon_Filter_Sanitize_Trim, __invoke, arginfo_phalcon_filter_sanitize_trim___invoke, ZEND_ACC_PUBLIC)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/phalcon/Forms/Element/Password.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Forms\Element;
12 |
13 | use Phalcon\Tag;
14 |
15 | /**
16 | * Component INPUT[type=password] for forms
17 | */
18 | class Password extends AbstractElement
19 | {
20 | /**
21 | * @var string
22 | */
23 | protected method = "inputPassword";
24 | }
25 |
--------------------------------------------------------------------------------
/phalcon/Mvc/Model/Transaction/Exception.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Mvc\Model\Transaction;
12 |
13 | /**
14 | * Phalcon\Mvc\Model\Transaction\Exception
15 | *
16 | * Exceptions thrown in Phalcon\Mvc\Model\Transaction will use this class
17 | */
18 | class Exception extends \Phalcon\Mvc\Model\Exception
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/_tocheck-models/Relations/M2MRobotsParts.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Phalcon\Tests\Models\Relations;
13 |
14 | use Phalcon\Mvc\Model;
15 |
16 | class M2MRobotsParts extends Model
17 | {
18 | public function initialize()
19 | {
20 | $this->setSource('m2m_robots_parts');
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/models/Objects.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Models;
15 |
16 | use Phalcon\Mvc\Model;
17 |
18 | /**
19 | * Class Objects
20 | */
21 | class Objects extends Model
22 | {
23 | public $obj_id;
24 | public $obj_name;
25 | public $obj_type;
26 | }
27 |
--------------------------------------------------------------------------------
/ext/phalcon/1__closure.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_1__closure_ce;
3 |
4 | ZEPHIR_INIT_CLASS(phalcon_1__closure);
5 |
6 | PHP_METHOD(phalcon_1__closure, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_1__closure___invoke, 0, 0, 4)
9 | ZEND_ARG_INFO(0, number)
10 | ZEND_ARG_INFO(0, message)
11 | ZEND_ARG_INFO(0, file)
12 | ZEND_ARG_INFO(0, line)
13 | ZEND_END_ARG_INFO()
14 |
15 | ZEPHIR_INIT_FUNCS(phalcon_1__closure_method_entry) {
16 | PHP_ME(phalcon_1__closure, __invoke, arginfo_phalcon_1__closure___invoke, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
17 | PHP_FE_END
18 | };
19 |
--------------------------------------------------------------------------------
/ext/phalcon/3__closure.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_3__closure_ce;
3 |
4 | ZEPHIR_INIT_CLASS(phalcon_3__closure);
5 |
6 | PHP_METHOD(phalcon_3__closure, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_3__closure___invoke, 0, 0, 4)
9 | ZEND_ARG_INFO(0, number)
10 | ZEND_ARG_INFO(0, message)
11 | ZEND_ARG_INFO(0, file)
12 | ZEND_ARG_INFO(0, line)
13 | ZEND_END_ARG_INFO()
14 |
15 | ZEPHIR_INIT_FUNCS(phalcon_3__closure_method_entry) {
16 | PHP_ME(phalcon_3__closure, __invoke, arginfo_phalcon_3__closure___invoke, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
17 | PHP_FE_END
18 | };
19 |
--------------------------------------------------------------------------------
/ext/phalcon/5__closure.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_5__closure_ce;
3 |
4 | ZEPHIR_INIT_CLASS(phalcon_5__closure);
5 |
6 | PHP_METHOD(phalcon_5__closure, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_5__closure___invoke, 0, 0, 4)
9 | ZEND_ARG_INFO(0, number)
10 | ZEND_ARG_INFO(0, message)
11 | ZEND_ARG_INFO(0, file)
12 | ZEND_ARG_INFO(0, line)
13 | ZEND_END_ARG_INFO()
14 |
15 | ZEPHIR_INIT_FUNCS(phalcon_5__closure_method_entry) {
16 | PHP_ME(phalcon_5__closure, __invoke, arginfo_phalcon_5__closure___invoke, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
17 | PHP_FE_END
18 | };
19 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/sanitize/boolval.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_sanitize_boolval_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_Sanitize_BoolVal);
5 |
6 | PHP_METHOD(Phalcon_Filter_Sanitize_BoolVal, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_sanitize_boolval___invoke, 0, 0, 1)
9 | ZEND_ARG_INFO(0, input)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_filter_sanitize_boolval_method_entry) {
13 | PHP_ME(Phalcon_Filter_Sanitize_BoolVal, __invoke, arginfo_phalcon_filter_sanitize_boolval___invoke, ZEND_ACC_PUBLIC)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/sanitize/special.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_sanitize_special_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_Sanitize_Special);
5 |
6 | PHP_METHOD(Phalcon_Filter_Sanitize_Special, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_sanitize_special___invoke, 0, 0, 1)
9 | ZEND_ARG_INFO(0, input)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_filter_sanitize_special_method_entry) {
13 | PHP_ME(Phalcon_Filter_Sanitize_Special, __invoke, arginfo_phalcon_filter_sanitize_special___invoke, ZEND_ACC_PUBLIC)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/tests/_data/assets/config/config.yml:
--------------------------------------------------------------------------------
1 | phalcon:
2 | baseuri: /phalcon/
3 | models:
4 | metadata: memory
5 | database:
6 | adapter: mysql
7 | host: localhost
8 | username: user
9 | password: passwd
10 | name: demo
11 | test:
12 | parent:
13 | property: 1
14 | property2: yeah
15 | emptyProperty:
16 | issue-12725:
17 | channel:
18 | handlers:
19 | 0:
20 | name: stream
21 | level: debug
22 | fingersCrossed: info
23 | filename: channel.log
24 | 1:
25 | name: redis
26 | level: debug
27 | fingersCrossed: info
--------------------------------------------------------------------------------
/tests/_data/fixtures/_tocheck-models/BodyParts/Head.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Phalcon\Tests\Models\BodyParts;
13 |
14 | use Phalcon\Mvc\Model;
15 |
16 | class Head extends Model
17 | {
18 | public $id;
19 |
20 | public function initialize()
21 | {
22 | $this->setSource('issue12071_head');
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/models/AlbumPhoto.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\models;
15 |
16 | use Phalcon\Mvc\Model;
17 |
18 | class AlbumPhoto extends Model
19 | {
20 | public function initialize()
21 | {
22 | $this->setSource('album_photo');
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/sanitize/lower.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_sanitize_lower_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_Sanitize_Lower);
5 |
6 | PHP_METHOD(Phalcon_Filter_Sanitize_Lower, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_sanitize_lower___invoke, 0, 0, 1)
9 | ZEND_ARG_TYPE_INFO(0, input, IS_STRING, 0)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_filter_sanitize_lower_method_entry) {
13 | PHP_ME(Phalcon_Filter_Sanitize_Lower, __invoke, arginfo_phalcon_filter_sanitize_lower___invoke, ZEND_ACC_PUBLIC)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/sanitize/upper.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_sanitize_upper_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_Sanitize_Upper);
5 |
6 | PHP_METHOD(Phalcon_Filter_Sanitize_Upper, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_sanitize_upper___invoke, 0, 0, 1)
9 | ZEND_ARG_TYPE_INFO(0, input, IS_STRING, 0)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_filter_sanitize_upper_method_entry) {
13 | PHP_ME(Phalcon_Filter_Sanitize_Upper, __invoke, arginfo_phalcon_filter_sanitize_upper___invoke, ZEND_ACC_PUBLIC)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/phalcon/Acl/ComponentAwareInterface.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | namespace Phalcon\Acl;
12 |
13 | /**
14 | * Interface for classes which could be used in allow method as RESOURCE
15 | */
16 | interface ComponentAwareInterface
17 | {
18 | /**
19 | * Returns component name
20 | */
21 | public function getComponentName() -> string;
22 | }
23 |
--------------------------------------------------------------------------------
/phalcon/Encryption/Security/JWT/Exceptions/UnsupportedAlgorithmException.zep:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 |
12 | namespace Phalcon\Encryption\Security\JWT\Exceptions;
13 |
14 | use Exception;
15 |
16 | /**
17 | * Exception thrown when the algorithm is not supported for JWT
18 | */
19 | class UnsupportedAlgorithmException extends Exception
20 | {
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/ext/phalcon/11__closure.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_11__closure_ce;
3 |
4 | ZEPHIR_INIT_CLASS(phalcon_11__closure);
5 |
6 | PHP_METHOD(phalcon_11__closure, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_11__closure___invoke, 0, 0, 4)
9 | ZEND_ARG_INFO(0, number)
10 | ZEND_ARG_INFO(0, message)
11 | ZEND_ARG_INFO(0, file)
12 | ZEND_ARG_INFO(0, line)
13 | ZEND_END_ARG_INFO()
14 |
15 | ZEPHIR_INIT_FUNCS(phalcon_11__closure_method_entry) {
16 | PHP_ME(phalcon_11__closure, __invoke, arginfo_phalcon_11__closure___invoke, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
17 | PHP_FE_END
18 | };
19 |
--------------------------------------------------------------------------------
/ext/phalcon/assets/filters/none.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_assets_filters_none_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Assets_Filters_None);
5 |
6 | PHP_METHOD(Phalcon_Assets_Filters_None, filter);
7 |
8 | ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_phalcon_assets_filters_none_filter, 0, 1, IS_STRING, 0)
9 | ZEND_ARG_TYPE_INFO(0, content, IS_STRING, 0)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_assets_filters_none_method_entry) {
13 | PHP_ME(Phalcon_Assets_Filters_None, filter, arginfo_phalcon_assets_filters_none_filter, ZEND_ACC_PUBLIC)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/ext/phalcon/config/adapter/php.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_config_adapter_php_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Config_Adapter_Php);
5 |
6 | PHP_METHOD(Phalcon_Config_Adapter_Php, __construct);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_config_adapter_php___construct, 0, 0, 1)
9 | ZEND_ARG_TYPE_INFO(0, filePath, IS_STRING, 0)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_config_adapter_php_method_entry) {
13 | PHP_ME(Phalcon_Config_Adapter_Php, __construct, arginfo_phalcon_config_adapter_php___construct, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/ext/phalcon/db/adapter/pdo_constants.h:
--------------------------------------------------------------------------------
1 |
2 | /**
3 | * This file is part of the Phalcon Framework.
4 | *
5 | * (c) Phalcon Team
6 | *
7 | * For the full copyright and license information, please view the LICENSE.txt
8 | * file that was distributed with this source code.
9 | */
10 |
11 | #define PDO_ATTR_ERRMODE 3
12 | #define PDO_ATTR_CASE 8
13 | #define PDO_ATTR_CURSOR 10
14 | #define PDO_ATTR_PERSISTENT 12
15 |
16 | #define PDO_CASE_LOWER 2
17 | #define PDO_CURSOR_SCROLL 1
18 | #define PDO_ERRMODE_SILENT 0
19 | #define PDO_ERRMODE_WARNING 1
20 | #define PDO_ERRMODE_EXCEPTION 2
21 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/filterinterface.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_filterinterface_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_FilterInterface);
5 |
6 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_filterinterface_sanitize, 0, 0, 2)
7 | ZEND_ARG_INFO(0, value)
8 | ZEND_ARG_INFO(0, sanitizers)
9 | ZEND_ARG_TYPE_INFO(0, noRecursive, _IS_BOOL, 0)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_filter_filterinterface_method_entry) {
13 | PHP_ABSTRACT_ME(Phalcon_Filter_FilterInterface, sanitize, arginfo_phalcon_filter_filterinterface_sanitize)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/ext/phalcon/filter/sanitize/floatval.zep.h:
--------------------------------------------------------------------------------
1 |
2 | extern zend_class_entry *phalcon_filter_sanitize_floatval_ce;
3 |
4 | ZEPHIR_INIT_CLASS(Phalcon_Filter_Sanitize_FloatVal);
5 |
6 | PHP_METHOD(Phalcon_Filter_Sanitize_FloatVal, __invoke);
7 |
8 | ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_sanitize_floatval___invoke, 0, 0, 1)
9 | ZEND_ARG_INFO(0, input)
10 | ZEND_END_ARG_INFO()
11 |
12 | ZEPHIR_INIT_FUNCS(phalcon_filter_sanitize_floatval_method_entry) {
13 | PHP_ME(Phalcon_Filter_Sanitize_FloatVal, __invoke, arginfo_phalcon_filter_sanitize_floatval___invoke, ZEND_ACC_PUBLIC)
14 | PHP_FE_END
15 | };
16 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Di/services.php:
--------------------------------------------------------------------------------
1 | [
8 | 'className' => UnitTester::class,
9 | ],
10 | 'config' => [
11 | 'className' => Config::class,
12 | 'shared' => true,
13 | ],
14 | 'component' => [
15 | 'className' => ServiceComponent::class,
16 | 'arguments' => [
17 | [
18 | 'type' => 'service',
19 | 'name' => 'config',
20 | ],
21 | ],
22 | ],
23 | ];
24 |
--------------------------------------------------------------------------------
/tests/_data/fixtures/Support/Dump/ClassProperties.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE.txt
9 | * file that was distributed with this source code.
10 | */
11 |
12 | declare(strict_types=1);
13 |
14 | namespace Phalcon\Tests\Fixtures\Support\Dump;
15 |
16 | /**
17 | * Class ClassProperties
18 | */
19 | class ClassProperties
20 | {
21 | public $foo = 1;
22 |
23 | protected $bar = 2;
24 |
25 | private $baz = 3;
26 | }
27 |
--------------------------------------------------------------------------------