GitHub
Tests: 12 • Commercial: 2 • Pet projects: 4 • Legacy: 4
Total: 22

.NET Framework

Test
2021

Project Request

ASP.NET MVC • C# • SQL Server
Idea of the project: if someone wants to order a project development, here you can send an application.
Test
2020

ProjectC

ASP.NET MVC • C# • JSON • jQuery
JSON data processing.
Test
2020

Vehicle Maintenance

ASP.NET MVC • VB.NET • JSON
Idea of the project: if someone wants to order a project development, here you can send an application.
Test
2019

Movie Navigator

ASP.NET MVC • VB.NET
Request information about movie from IMDB.
Test
2018

Customers Exchange

ASP.NET MVC • C# • SQL Server
Automated teller machine emulation.
Test
2016

ATM

ASP.NET MVC • C#
Automated teller machine emulation.

.NET Core

Pet project
2022

Mail Daemon

.NET 9 • Console • JSON
Utility to send mails with customizable settings.

Custom

Code
2024

Buns of code

.NET Framework • C# • JavaScript
Code snippets from my projects, ready to use; tiny tests; code examples.

PHP

Test
2024

Mediabox

PHP 8 • Laravel 11 • Vue.js • Composer • SQLite
Test project for media files management.
Test
2020

Loan Castle

PHP • MariaDB
Jums jāizstrādā kāda lielāk projekta prototips. Izstrādājot prototipu, paturiet prātā, ka projektam attīstoties, šo prototipu varētu vajadzēt pilnveidot.
Test
2020

Content Management

PHP • MySQL • AJAX
Создать простой сайт, где будет страница с формой для авторизации и страница для авторизованного пользователя.
Test
2019

Laravel

PHP • Laravel • Vue.js • Composer • SQLite
Izveidot aplikāciju, kura ik pēc noteikta intervāla (60 sekundes) veic ierakstu datubāzē izmantojot Laravel freimworka iebūvēto funkcionalitāti.
Test
2019

Phone Check

PHP • JavaScript • JSON • Docker
Implement application to detect country by phone number.

Frontend

Test
2021

Forex Wall

npm • React
For this exercise, what we need is a simple live wall for tracking currencies.

Business projects

Commercial
2008

Certification Center

.NET Framework 4.8 • ASP.NET Web Forms • C# • LINQ • SQL Server • ADO.NET • Dapper • JavaScript • jQuery • Git
Transport registration and certification services in Latvia, Customer Relationship Management.
Commercial
2000

Amerikas Auto

.NET Framework 4.8 • ASP.NET Web Forms • C# • LINQ • SQL Server • ADO.NET • Entity Framework • JavaScript • jQuery • Git
Car service and spare parts for all USA and European car models, Customer Relationship Management.

Pet projects

Pet project
2023

Geolocation Assistant

.NET 8 • ASP.NET Core • C# • Web API • JSON • Git
Website for determining geolocation by IP or geotagged photo.
Pet project
2008

Web Dynamics

.NET Framework 4.8 • ASP.NET Web Forms • C# • LINQ • Web API • JSON • SQL Server • Dapper • JavaScript • jQuery • SVG • Git
Software development blog. Articles, books, videos, content management.
Pet project
2000

Blackball

.NET Framework 4.8 • ASP.NET Web Forms • C# • LINQ • Web API • JSON • XML • SQL Server • Dapper • JavaScript • jQuery • SVG • Git
My entertainment portal created from scratch.

Good old times

Legacy
2000

DOS Clock

Turbo Pascal • Assembler
Digital clock.
Legacy
2000

BrainOut

Turbo Pascal • Assembler
Tank battle game.
Legacy
1999

Airport Administrator

Turbo Pascal
Курсовая работа в институте.
Legacy
1998

Atomizer

Turbo Pascal • Assembler
Atomizer, aka «Studio2D». Graphic raster editor. AGI is my own «Atomizer Generated Image» file format.

Mediabox

2024 Test

Test project for media files management.

PHP 8 Laravel 11 Vue.js Composer SQLite
Information
Source code
  app
  Http
  .bin
  vite
  lib
  dist
  esm
  node
  lib
  core
  env
  node
  lib
  lib
  lib
  lib
  dist
  lib
  lib
  dist
  es
  lib
  vite
  dist
  node
  dist
  css
  js
  app
  data
  logs
  Unit
  math
  src
  src
  src
  docs
  en
  lib
  src
  src
  Cron
  src
  src
  Core
  ORM
  Spot
  filp
  src
  css
  js
  Util
  src
  src
  src
  src
  psr7
  src
  src
  Core
  Text
  Type
  Xml
  Core
  Text
  Type
  Xml
  src
  Auth
  make
  Bus
  View
  Auth
  Bus
  Http
  Mail
  View
  Auth
  Bus
  Http
  dist
  Http
  Json
  Log
  Mail
  html
  text
  Jobs
  lang
  en
  View
  pint
  pint
  src
  sail
  8.0
  8.1
  8.2
  8.3
  src
  src
  src
  src
  Node
  Util
  Node
  Node
  Node
  Data
  Node
  Node
  Util
  Xml
  src
  src
  src
  docs
  Pass
  src
  Curl
  Test
  src
  Date
  Spl
  lazy
  src
  Cli
  Lang
  List
  src
  src
  lib
  Node
  Expr
  Cast
  Name
  Stmt
  src
  src
  Html
  src
  xml
  src
  src
  src
  Data
  Node
  Html
  css
  js
  Xml
  Util
  src
  src
  src
  src
  src
  Test
  Test
  Math
  Type
  Api
  Rule
  Stub
  Api
  PHPT
  Cli
  Xml
  Util
  PHP
  Xml
  psr
  src
  src
  src
  src
  src
  docs
  src
  log
  src
  src
  psy
  src
  Hoa
  77
  78
  Sudo
  Util
  src
  src
  Map
  Tool
  uuid
  src
  Time
  Guid
  Lazy
  Math
  Dce
  Node
  Time
  Type
  src
  src
  src
  src
  src
  diff
  src
  src
  src
  src
  src
  src
  src
  src
  type
  src
  type
  src
  Test
  CI
  Node
  css
  js
  File
  Test
  Log
  Test
  Smtp
  Auth
  mime
  Part
  Test
  Test
  data
  data
  Test
  Util
  Test
  uid
  css
  js
  Test
  yaml
  Tag
  src
  src
  Css
  Rule
  src
  File
  Util
  voku
  src
  voku
  data
  src
  .env
Root / vendor / mockery / mockery / library / Mockery / Configuration.php
<?php /** * Mockery (https://docs.mockery.io/) * * @copyright https://github.com/mockery/mockery/blob/HEAD/COPYRIGHT.md * @license https://github.com/mockery/mockery/blob/HEAD/LICENSE BSD 3-Clause License * @link https://github.com/mockery/mockery for the canonical source repository */ namespace Mockery; use Closure; use Hamcrest\Matcher; use Hamcrest_Matcher; use InvalidArgumentException; use LogicException; use Mockery\Matcher\MatcherInterface; use function array_key_exists; use function array_merge; use function class_implements; use function get_parent_class; use function is_a; use function sprintf; use function strtolower; use function trigger_error; use const E_USER_DEPRECATED; use const PHP_MAJOR_VERSION; class Configuration { /** * Boolean assertion of whether we ignore unnecessary mocking of methods, * i.e. when method expectations are made, set using a zeroOrMoreTimes() * constraint, and then never called. Essentially such expectations are * not required and are just taking up test space. * * @var bool */ protected $_allowMockingMethodsUnnecessarily = true; /** * Boolean assertion of whether we can mock methods which do not actually * exist for the given class or object (ignored for unreal mocks) * * @var bool */ protected $_allowMockingNonExistentMethod = true; /** * Constants map * * e.g. ['class' => ['MY_CONST' => 123, 'OTHER_CONST' => 'foo']] * * @var array<class-string,array<string,array<scalar>|scalar>> */ protected $_constantsMap = []; /** * Default argument matchers * * e.g. ['class' => 'matcher'] * * @var array<class-string,class-string> */ protected $_defaultMatchers = []; /** * Parameter map for use with PHP internal classes. * * e.g. ['class' => ['method' => ['param1', 'param2']]] * * @var array<class-string,array<string,list<string>>> */ protected $_internalClassParamMap = []; /** * Custom object formatters * * e.g. ['class' => static fn($object) => 'formatted'] * * @var array<class-string,Closure> */ protected $_objectFormatters = []; /** * @var QuickDefinitionsConfiguration */ protected $_quickDefinitionsConfiguration; /** * Boolean assertion is reflection caching enabled or not. It should be * always enabled, except when using PHPUnit's --static-backup option. * * @see https://github.com/mockery/mockery/issues/268 */ protected $_reflectionCacheEnabled = true; public function __construct() { $this->_quickDefinitionsConfiguration = new QuickDefinitionsConfiguration(); } /** * Set boolean to allow/prevent unnecessary mocking of methods * * @param bool $flag * * @return void * * @deprecated since 1.4.0 */ public function allowMockingMethodsUnnecessarily($flag = true) { @trigger_error( sprintf('The %s method is deprecated and will be removed in a future version of Mockery', __METHOD__), E_USER_DEPRECATED ); $this->_allowMockingMethodsUnnecessarily = (bool) $flag; } /** * Set boolean to allow/prevent mocking of non-existent methods * * @param bool $flag * * @return void */ public function allowMockingNonExistentMethods($flag = true) { $this->_allowMockingNonExistentMethod = (bool) $flag; } /** * Disable reflection caching * * It should be always enabled, except when using * PHPUnit's --static-backup option. * * @see https://github.com/mockery/mockery/issues/268 * * @return void */ public function disableReflectionCache() { $this->_reflectionCacheEnabled = false; } /** * Enable reflection caching * * It should be always enabled, except when using * PHPUnit's --static-backup option. * * @see https://github.com/mockery/mockery/issues/268 * * @return void */ public function enableReflectionCache() { $this->_reflectionCacheEnabled = true; } /** * Get the map of constants to be used in the mock generator * * @return array<class-string,array<string,array<scalar>|scalar>> */ public function getConstantsMap() { return $this->_constantsMap; } /** * Get the default matcher for a given class * * @param class-string $class * * @return null|class-string */ public function getDefaultMatcher($class) { $classes = []; $parentClass = $class; do { $classes[] = $parentClass; $parentClass = get_parent_class($parentClass); } while ($parentClass !== false); $classesAndInterfaces = array_merge($classes, class_implements($class)); foreach ($classesAndInterfaces as $type) { if (array_key_exists($type, $this->_defaultMatchers)) { return $this->_defaultMatchers[$type]; } } return null; } /** * Get the parameter map of an internal PHP class method * * @param class-string $class * @param string $method * * @return null|array */ public function getInternalClassMethodParamMap($class, $method) { $class = strtolower($class); $method = strtolower($method); if (! array_key_exists($class, $this->_internalClassParamMap)) { return null; } if (! array_key_exists($method, $this->_internalClassParamMap[$class])) { return null; } return $this->_internalClassParamMap[$class][$method]; } /** * Get the parameter maps of internal PHP classes * * @return array<class-string,array<string,list<string>>> */ public function getInternalClassMethodParamMaps() { return $this->_internalClassParamMap; } /** * Get the object formatter for a class * * @param class-string $class * @param Closure $defaultFormatter * * @return Closure */ public function getObjectFormatter($class, $defaultFormatter) { $parentClass = $class; do { $classes[] = $parentClass; $parentClass = get_parent_class($parentClass); } while ($parentClass !== false); $classesAndInterfaces = array_merge($classes, class_implements($class)); foreach ($classesAndInterfaces as $type) { if (array_key_exists($type, $this->_objectFormatters)) { return $this->_objectFormatters[$type]; } } return $defaultFormatter; } /** * Returns the quick definitions configuration */ public function getQuickDefinitions(): QuickDefinitionsConfiguration { return $this->_quickDefinitionsConfiguration; } /** * Return flag indicating whether mocking non-existent methods allowed * * @return bool * * @deprecated since 1.4.0 */ public function mockingMethodsUnnecessarilyAllowed() { @trigger_error( sprintf('The %s method is deprecated and will be removed in a future version of Mockery', __METHOD__), E_USER_DEPRECATED ); return $this->_allowMockingMethodsUnnecessarily; } /** * Return flag indicating whether mocking non-existent methods allowed * * @return bool */ public function mockingNonExistentMethodsAllowed() { return $this->_allowMockingNonExistentMethod; } /** * Is reflection cache enabled? * * @return bool */ public function reflectionCacheEnabled() { return $this->_reflectionCacheEnabled; } /** * Remove all overridden parameter maps from internal PHP classes. * * @return void */ public function resetInternalClassMethodParamMaps() { $this->_internalClassParamMap = []; } /** * Set a map of constants to be used in the mock generator * * e.g. ['MyClass' => ['MY_CONST' => 123, 'ARRAY_CONST' => ['foo', 'bar']]] * * @param array<class-string,array<string,array<scalar>|scalar>> $map * * @return void */ public function setConstantsMap(array $map) { $this->_constantsMap = $map; } /** * @param class-string $class * @param class-string $matcherClass * * @throws InvalidArgumentException * * @return void */ public function setDefaultMatcher($class, $matcherClass) { $isHamcrest = is_a($matcherClass, Matcher::class, true) || is_a($matcherClass, Hamcrest_Matcher::class, true); if ($isHamcrest) { @trigger_error('Hamcrest package has been deprecated and will be removed in 2.0', E_USER_DEPRECATED); } if (! $isHamcrest && ! is_a($matcherClass, MatcherInterface::class, true)) { throw new InvalidArgumentException(sprintf( "Matcher class must implement %s, '%s' given.", MatcherInterface::class, $matcherClass )); } $this->_defaultMatchers[$class] = $matcherClass; } /** * Set a parameter map (array of param signature strings) for the method of an internal PHP class. * * @param class-string $class * @param string $method * @param list<string> $map * * @throws LogicException * * @return void */ public function setInternalClassMethodParamMap($class, $method, array $map) { if (PHP_MAJOR_VERSION > 7) { throw new LogicException( 'Internal class parameter overriding is not available in PHP 8. Incompatible signatures have been reclassified as fatal errors.' ); } $class = strtolower($class); if (! array_key_exists($class, $this->_internalClassParamMap)) { $this->_internalClassParamMap[$class] = []; } $this->_internalClassParamMap[$class][strtolower($method)] = $map; } /** * Set a custom object formatter for a class * * @param class-string $class * @param Closure $formatterCallback * * @return void */ public function setObjectFormatter($class, $formatterCallback) { $this->_objectFormatters[$class] = $formatterCallback; } }